Skip to content

Commit

Permalink
Expand exit sleep docs
Browse files Browse the repository at this point in the history
Co-authored-by: Arya <[email protected]>
  • Loading branch information
teor2345 and arya2 authored Sep 7, 2022
1 parent 175579c commit 3e203d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zebra-state/src/service/finalized_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ impl FinalizedState {
let _ = stderr().lock().flush();

// Give some time to logger thread to flush out any remaining lines to stdout
// and yield so that tests pass on MacOS
std::thread::sleep(std::time::Duration::from_secs(3));

// Exits before calling drop on the WorkerGuard for the logger thread,
Expand Down

0 comments on commit 3e203d7

Please sign in to comment.