feat udpate
Some checks failed
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m14s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m13s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m22s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m31s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m44s
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 3h1m3s
linux-x64-gcc / linux-gcc (push) Failing after 3h1m0s
Some checks failed
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m14s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m13s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m22s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m31s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m44s
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 3h1m3s
linux-x64-gcc / linux-gcc (push) Failing after 3h1m0s
This commit is contained in:
parent
9023145485
commit
2e4bd2d083
@ -127,10 +127,9 @@ TimerManager::Loop()
|
||||
timers_cond_.WaitForMilliseconds(timers_guard, 1000);
|
||||
} else if (timers_.begin()->first > now) {
|
||||
// do {
|
||||
uint64_t wait_time_ms = (timers_.begin()->first - now + 1000) / 1000;
|
||||
uint64_t wait_time_ms = (timers_.begin()->first - now + 1000ULL) / 1000ULL;
|
||||
// FIX:
|
||||
wait_time_ms += 1;
|
||||
// if (wait_time_ms < 100) { wait_time_ms = 100; }
|
||||
if (wait_time_ms < 10) { wait_time_ms = 10; }
|
||||
|
||||
timers_cond_.WaitForMilliseconds(timers_guard, wait_time_ms);
|
||||
// } while (timers_.begin()->first >= now);
|
||||
|
Loading…
x
Reference in New Issue
Block a user