From 5baf14594331b1b0b60d655240eb398bcce61f7c Mon Sep 17 00:00:00 2001 From: hozan23 Date: Thu, 21 Mar 2024 12:28:47 +0100 Subject: core: minor modification to TaskGroup api --- p2p/src/listener.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'p2p/src/listener.rs') diff --git a/p2p/src/listener.rs b/p2p/src/listener.rs index c9b7390..4a41482 100644 --- a/p2p/src/listener.rs +++ b/p2p/src/listener.rs @@ -46,7 +46,7 @@ impl Listener { Arc::new(Self { key_pair: key_pair.clone(), connection_slots, - task_group: TaskGroup::new(ex), + task_group: TaskGroup::with_executor(ex), enable_tls, monitor, }) -- cgit v1.2.3