Skip to content

Commit

Permalink
Joining heap task instead of aborting
Browse files Browse the repository at this point in the history
  • Loading branch information
godmodegalactus committed Mar 27, 2024
1 parent 39eb6a2 commit 19080ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/src/tpu_utils/tpu_connection_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ impl ActiveConnection {
}
}

heap_filler_task.abort();
let _ = heap_filler_task.await;
let elements_removed = priorization_heap.clear().await;
TRANSACTIONS_IN_HEAP.sub(elements_removed as i64);
NB_QUIC_ACTIVE_CONNECTIONS.dec();
Expand Down

0 comments on commit 19080ed

Please sign in to comment.