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 --- jsonrpc/src/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jsonrpc') diff --git a/jsonrpc/src/server.rs b/jsonrpc/src/server.rs index ac1673d..26d632a 100644 --- a/jsonrpc/src/server.rs +++ b/jsonrpc/src/server.rs @@ -54,7 +54,7 @@ impl<'a> Server<'a> { Arc::new(Self { listener: listener.to_listener(), services: RwLock::new(HashMap::new()), - task_group: TaskGroup::new(ex), + task_group: TaskGroup::with_executor(ex), config, }) } -- cgit v1.2.3