refactor: increase watermark update frequence to once per 10s

pull/24376/head
Marco Neumann 2021-07-21 15:02:48 +02:00
parent 2f1efcf517
commit fd00206fbb
1 changed files with 1 additions and 1 deletions

View File

@ -835,7 +835,7 @@ impl Db {
// We are not updating this watermark every round because asking the sequencer for that watermark can be
// quite expensive.
if watermark_last_updated
.map(|ts| ts.elapsed() > Duration::from_secs(60))
.map(|ts| ts.elapsed() > Duration::from_secs(10))
.unwrap_or(true)
{
match f_mark().await {