mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Update src/Common/AsynchronousMetrics.cpp
This commit is contained in:
parent
6243a16824
commit
9d0a63bd92
@ -948,7 +948,7 @@ void AsynchronousMetrics::update(TimePoint update_time)
|
||||
std::string line;
|
||||
readText(line, *cgroupcpu_max);
|
||||
|
||||
auto space = line.find(" ");
|
||||
auto space = line.find(' ');
|
||||
|
||||
if (line.rfind("max", space) == std::string::npos)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user