From 5cc944827e4fe4e0b220a251b487df68d0910e05 Mon Sep 17 00:00:00 2001 From: Matt Keeter Date: Wed, 30 Oct 2024 13:58:22 -0400 Subject: [PATCH] Post-rebase fix --- upstairs/src/upstairs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upstairs/src/upstairs.rs b/upstairs/src/upstairs.rs index ac0aac6c8..c4cec8234 100644 --- a/upstairs/src/upstairs.rs +++ b/upstairs/src/upstairs.rs @@ -688,7 +688,7 @@ impl Upstairs { // (especially during debug builds), and we don't want to set our flush // deadline such that it fires immediately. if has_jobs { - self.flush_deadline = deadline_secs(self.flush_timeout_secs); + self.flush_deadline = Instant::now() + self.flush_interval; } }