Snapshots: restore logInterval #4098

This commit is contained in:
Alex Sharov 2022-05-07 19:26:13 +07:00 committed by GitHub
parent 55af137b32
commit 54076c9bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1219,7 +1219,7 @@ func WaitForDownloader(ctx context.Context, tx kv.RwTx, cfg HeadersCfg) error {
}
break
}
logEvery := time.NewTicker(logInterval / 3)
logEvery := time.NewTicker(logInterval)
defer logEvery.Stop()
var m runtime.MemStats