mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-20 01:16:03 +00:00
Changing wait to spawn in websocket.
This commit is contained in:
parent
b2a89cd217
commit
313d023eef
|
@ -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(_) => {
|
||||
|
|
Loading…
Reference in a new issue