mirror of
https://github.com/mhx/dwarfs.git
synced 2025-08-03 17:56:12 -04:00
test(block_merger): don't excessively sleep on Windows
This commit is contained in:
parent
d47cabc537
commit
5b3a5e1f3c
@ -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
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user