We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32146c7 commit 67c94f4Copy full SHA for 67c94f4
ydb/core/tx/conveyor/service/service.cpp
@@ -46,6 +46,9 @@ void TWorkersPool::ReleaseWorker(const ui32 workerIdx) {
46
47
void TWorkersPool::ChangeAmountCPULimit(const double delta) {
48
AmountCPULimit += delta;
49
+ if (std::abs(AmountCPULimit) < Eps) {
50
+ AmountCPULimit = 0;
51
+ }
52
AFL_VERIFY(AmountCPULimit >= 0);
53
Counters.AmountCPULimit->Set(AmountCPULimit);
54
Counters.ChangeCPULimitRate->Inc();
0 commit comments