mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-18 08:49:29 -04:00
test(block_merger): don't excessively sleep on Windows
This commit is contained in:
parent
388a66013a
commit
b67d6c4f83
@ -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