Merge pull request #2081 from TheBlueMatt/2023-03-future-poll-panic

This commit is contained in:
Matt Corallo 2023-03-08 15:49:43 +00:00 committed by GitHub
commit 2e90ca11ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -349,9 +349,9 @@ macro_rules! define_run_body {
log_error!($logger, "Error: Failed to persist network graph, check your disk and permissions {}", e) log_error!($logger, "Error: Failed to persist network graph, check your disk and permissions {}", e)
} }
last_prune_call = $get_timer(NETWORK_PRUNE_TIMER);
have_pruned = true; have_pruned = true;
} }
last_prune_call = $get_timer(NETWORK_PRUNE_TIMER);
} }
if $timer_elapsed(&mut last_scorer_persist_call, SCORER_PERSIST_TIMER) { if $timer_elapsed(&mut last_scorer_persist_call, SCORER_PERSIST_TIMER) {