]> Untitled Git - lemmy.git/commitdiff
Changing wait to spawn in websocket.
authorDessalines <tyhou13@gmx.com>
Wed, 22 Apr 2020 04:29:25 +0000 (00:29 -0400)
committerDessalines <tyhou13@gmx.com>
Wed, 22 Apr 2020 04:29:25 +0000 (00:29 -0400)
server/src/routes/websocket.rs

index 48b7d08fb0336cf587346771710e9d43510ecc54..3814a8e9b5c012b9fcb48817f2765b7c075598e4 100644 (file)
@@ -124,7 +124,7 @@ impl StreamHandler<Result<ws::Message, ws::ProtocolError>> for WSSession {
             }
             actix::fut::ready(())
           })
-          .wait(ctx);
+          .spawn(ctx);
       }
       ws::Message::Binary(_bin) => info!("Unexpected binary"),
       ws::Message::Close(_) => {