From 19080ed601f201895b15880e4e4772be63ad1998 Mon Sep 17 00:00:00 2001 From: godmodegalactus Date: Wed, 27 Mar 2024 12:18:04 +0100 Subject: [PATCH] Joining heap task instead of aborting --- services/src/tpu_utils/tpu_connection_manager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/src/tpu_utils/tpu_connection_manager.rs b/services/src/tpu_utils/tpu_connection_manager.rs index 9c7e2d4e..9f10f0a4 100644 --- a/services/src/tpu_utils/tpu_connection_manager.rs +++ b/services/src/tpu_utils/tpu_connection_manager.rs @@ -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();