mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:44:12 +08:00
test: reduce short jitter-delay to 1ms.
Change-Id: I0fac7518dd23d7345c3344e5d5883661a7cbce19
This commit is contained in:
parent
939285bef2
commit
d5b5434fa6
@ -273,7 +273,7 @@ void jitter_delay(bool extra) {
|
||||
cpu_relax();
|
||||
if (dice > 2) {
|
||||
unsigned us = entropy_white() &
|
||||
(extra ? 0xfffff /* 1.05 s */ : 0x3fff /* 16 ms */);
|
||||
(extra ? 0xfffff /* 1.05 s */ : 0x3ff /* 1 ms */);
|
||||
log_trace("== jitter.delay: %0.6f", us / 1000000.0);
|
||||
osal_udelay(us);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user