Skip to content

Commit bcc7d5e

Browse files
authored
Increase TBasicExecutorPoolSanitizer timeout. 1000ns causes noticiable cpu usage (#6265)
Increase TBasicExecutorPoolSanitizer timeout. 1000ns causes noticeable cpu usage CPU usage for one test pack before: real 1m54.312s user 7m1.247s sys 3m21.446s after: real 1m52.389s user 4m49.227s sys 1m53.762s
1 parent 1aba0a7 commit bcc7d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/library/actors/core/executor_pool_basic_sanitizer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class TBasicExecutorPoolSanitizer : public ISimpleThread {
2424
void* ThreadProc() override {
2525
while (!StopFlag.load(std::memory_order_acquire)) {
2626
CheckSemaphore();
27-
NanoSleep(1000);
27+
NanoSleep(1000000);
2828
}
2929
return nullptr;
3030
}

0 commit comments

Comments
 (0)