Workaround clang ICE "ran out of registers during register allocation" (2).
GitOrigin-RevId: 9a0c5a0b65bb6c7765ab28c86116c482191934e5
This commit is contained in:
parent
00c5033386
commit
73440a8dea
@ -131,7 +131,7 @@ class NetStats {
|
||||
|
||||
void on_change(LocalNetStats &stats, uint64 size) {
|
||||
stats.unsync_size += size;
|
||||
auto now = Time::now_cached();
|
||||
auto now = Time::now();
|
||||
if (stats.unsync_size > 10000 || now - stats.last_update > 5 * 60) {
|
||||
stats.unsync_size = 0;
|
||||
stats.last_update = now;
|
||||
|
Loading…
Reference in New Issue
Block a user