mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Incorporate review feedback
This commit is contained in:
parent
a2f2003445
commit
6f56642567
@ -17,9 +17,9 @@ bool cgroupsV2Enabled()
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
catch (...)
|
||||
catch (const std::filesystem::filesystem_error &) /// all "underlying OS API errors", typically: permission denied
|
||||
{
|
||||
return false; /// e.g. permission denied exception
|
||||
return false; /// not logging the exception as most callers fall back to cgroups v1
|
||||
}
|
||||
#else
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user