From: Dessalines Date: Wed, 22 Apr 2020 04:29:25 +0000 (-0400) Subject: Changing wait to spawn in websocket. X-Git-Url: http://these/git/%22https:/nerdica.net/README.md?a=commitdiff_plain;h=313d023eef849ea0d8d501d03d17f914b6ae947b;p=lemmy.git Changing wait to spawn in websocket. --- diff --git a/server/src/routes/websocket.rs b/server/src/routes/websocket.rs index 48b7d08f..3814a8e9 100644 --- a/server/src/routes/websocket.rs +++ b/server/src/routes/websocket.rs @@ -124,7 +124,7 @@ impl StreamHandler> for WSSession { } actix::fut::ready(()) }) - .wait(ctx); + .spawn(ctx); } ws::Message::Binary(_bin) => info!("Unexpected binary"), ws::Message::Close(_) => {