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/peer_pool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'p2p/src/peer_pool.rs') diff --git a/p2p/src/peer_pool.rs b/p2p/src/peer_pool.rs index 48499fe..4e20c99 100644 --- a/p2p/src/peer_pool.rs +++ b/p2p/src/peer_pool.rs @@ -80,7 +80,7 @@ impl PeerPool { peers: Mutex::new(HashMap::new()), protocols, protocol_versions, - task_group: TaskGroup::new(executor.clone()), + task_group: TaskGroup::with_executor(executor.clone()), executor, monitor, config, -- cgit v1.2.3