Unverified Commit 30c0fbbf authored by Niklas Adolfsson's avatar Niklas Adolfsson Committed by GitHub
Browse files

fix(server): fix leak in FuturesUnordered (#1204)

* fix: remove needless clone in ws background task

* fix(server): fix leak in FuturesUnordered

The tokio::spawn handles were never removed from `FutursUnordered`
which this commit fixes.

Reduces the memory usage signficantly but still slightly worse than v0.16.x

* Update server/src/transport/ws.rs

* cargo fmt

* wording
parent 5be98669
Pipeline #393829 passed with stages
in 1 hour, 5 minutes, and 45 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment