aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc
diff options
context:
space:
mode:
authorhozan23 <hozan23@proton.me>2024-03-21 12:28:47 +0100
committerhozan23 <hozan23@proton.me>2024-03-21 12:28:47 +0100
commit5baf14594331b1b0b60d655240eb398bcce61f7c (patch)
tree1911a2af6e0684c35a143095ee31223f1f88abd5 /jsonrpc
parent379dca552ca91d22ee007b42f93803ad3dc2b274 (diff)
core: minor modification to TaskGroup api
Diffstat (limited to 'jsonrpc')
-rw-r--r--jsonrpc/src/server.rs2
1 files changed, 1 insertions, 1 deletions
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,
})
}