diff options
| author | Dan Engelbrecht <[email protected]> | 2025-10-06 10:18:49 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-10-06 10:18:49 +0200 |
| commit | d5b2a263e6d4c893c6ec3fb99b36110630da6529 (patch) | |
| tree | 35bfa4c23c838fdbebd07100db2ebf2404977b3f /src/zenutil/zenserverprocess.cpp | |
| parent | fix link error with operator new (#553) (diff) | |
| download | zen-d5b2a263e6d4c893c6ec3fb99b36110630da6529.tar.xz zen-d5b2a263e6d4c893c6ec3fb99b36110630da6529.zip | |
speed up tests (#555)
* faster FileSystemTraversal test
* faster jobqueue test
* faster NamedEvent test
* faster cache tests
* faster basic http tests
* faster blockstore test
* faster cache store tests
* faster compactcas tests
* more responsive zenserver launch
* tweak worker pool sizes in tests
Diffstat (limited to 'src/zenutil/zenserverprocess.cpp')
| -rw-r--r-- | src/zenutil/zenserverprocess.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zenutil/zenserverprocess.cpp b/src/zenutil/zenserverprocess.cpp index 36211263a..6a93f0c63 100644 --- a/src/zenutil/zenserverprocess.cpp +++ b/src/zenutil/zenserverprocess.cpp @@ -915,7 +915,7 @@ ZenServerInstance::Detach() uint16_t ZenServerInstance::WaitUntilReady() { - while (m_ReadyEvent.Wait(100) == false) + while (m_ReadyEvent.Wait(10) == false) { if (!m_Process.IsValid()) { @@ -938,7 +938,7 @@ bool ZenServerInstance::WaitUntilReady(int Timeout) { int TimeoutLeftMS = Timeout; - while (m_ReadyEvent.Wait(100) == false) + while (m_ReadyEvent.Wait(10) == false) { if (!m_Process.IsValid()) { @@ -950,7 +950,7 @@ ZenServerInstance::WaitUntilReady(int Timeout) ZEN_WARN("Wait abandoned by exited process"); return false; } - TimeoutLeftMS -= 100; + TimeoutLeftMS -= 10; if ((TimeoutLeftMS <= 0)) { ZEN_WARN("Wait abandoned due to timeout"); |