aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src/main.rs
diff options
context:
space:
mode:
authorEskil Q <eskilq@kth.se>2021-01-06 23:50:09 +0100
committerEskil Q <eskilq@kth.se>2021-01-06 23:50:09 +0100
commit92d5b21bf0f910f219c473002f83ba93ddcbee6d (patch)
tree5280eb78c1e75e711ba5091c4ddeb6fa0ac79f69 /mumd/src/main.rs
parent02e6f2b84d72294b29a1698c1b73fbb5697815da (diff)
downloadmum-92d5b21bf0f910f219c473002f83ba93ddcbee6d.tar.gz
fix deadlock
Diffstat (limited to 'mumd/src/main.rs')
-rw-r--r--mumd/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mumd/src/main.rs b/mumd/src/main.rs
index 67481f9..a8cb230 100644
--- a/mumd/src/main.rs
+++ b/mumd/src/main.rs
@@ -14,7 +14,7 @@ use std::fs;
use tokio::sync::mpsc;
use tokio::task::spawn_blocking;
-#[tokio::main]
+#[tokio::main(worker_threads = 4)]
async fn main() {
setup_logger(std::io::stderr(), true);
notify::init();