Skip to content

Commit 3b34076

Browse files
committed
refactor: remove unnecessary sleep before Anvil shutdown
1 parent 16642f6 commit 3b34076

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

benches/src/bin/generate_dump.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,6 @@ async fn main() -> Result<()> {
245245
// Drop Anvil to trigger state dump
246246
eprintln!("\nSaving Anvil state...");
247247

248-
// Give Anvil a moment to finish any pending operations
249-
tokio::time::sleep(Duration::from_millis(500)).await;
250-
251248
// Drop anvil - this triggers the dump
252249
drop(anvil);
253250

0 commit comments

Comments
 (0)