Skip to content
Prev Previous commit
Next Next commit
hmmmmmm
  • Loading branch information
maciejnems committed Dec 28, 2022
commit 0d138ab90696c9ea4348bd8cca171a8d6985457e
2 changes: 1 addition & 1 deletion finality-aleph/src/sync/ticker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl Ticker {
let now = Instant::now();
if now.saturating_duration_since(self.last_tick) >= self.min_timeout {
self.last_tick = now;
self.current_timeout = self.min_timeout;
self.current_timeout = self.max_timeout;
true
} else {
self.current_timeout = self.min_timeout;
Expand Down