test(block_merger): don't excessively sleep on Windows

This commit is contained in:
Marcus Holland-Moritz 2025-05-13 16:37:19 +02:00
parent d47cabc537
commit 5b3a5e1f3c

View File

@ -363,7 +363,9 @@ do_run(std::mutex& out_mx, size_t run, std::mt19937& delay_rng) {
if constexpr (PartialRelease) {
std::this_thread::sleep_until(next);
} else {
#ifndef _WIN32
std::this_thread::sleep_for(std::chrono::microseconds(10));
#endif
}
}
});