Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
2729: Disable auto-stop in sandbox mode r=damip a=damip



Co-authored-by: Damir Vodenicarevic <[email protected]>
  • Loading branch information
bors[bot] and damip authored Jun 24, 2022
2 parents 36afb51 + bf79afc commit 05bff33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions massa-consensus-worker/src/consensus_worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ impl ConsensusWorker {

// check if there are any final blocks not produced by us
// if none => we are probably desync
#[cfg(not(feature = "sandbox"))]
if now
> max(self.cfg.genesis_timestamp, self.launch_time)
.saturating_add(self.stats_desync_detection_timespan)
Expand Down

0 comments on commit 05bff33

Please sign in to comment.