mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 18:55:32 +00:00
aquatic_ws: in remove_inactive_connections, run shrink_to_fit on map
This commit is contained in:
parent
e4bdfd06fb
commit
de06931242
2 changed files with 2 additions and 1 deletions
1
TODO.md
1
TODO.md
|
|
@ -4,7 +4,6 @@
|
||||||
* network
|
* network
|
||||||
* native_tls for wss support
|
* native_tls for wss support
|
||||||
* handshake: deregister stream when applicable
|
* handshake: deregister stream when applicable
|
||||||
* connection cleaning: shrink to fit
|
|
||||||
* test
|
* test
|
||||||
* test full torrent transfer (offer-answer exchange)
|
* test full torrent transfer (offer-answer exchange)
|
||||||
* torrent state cleaning
|
* torrent state cleaning
|
||||||
|
|
|
||||||
|
|
@ -98,6 +98,8 @@ pub fn remove_inactive_connections(
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
connections.shrink_to_fit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue