Update TODO

This commit is contained in:
Joakim Frostegård 2020-04-12 12:35:05 +02:00
parent 3c5b515be9
commit eaa42a26b7

View file

@ -1,8 +1,12 @@
# TODO
## aquatic
* Lock connections and torrents together? Maybe don't stop collecting
requests if mutex is locked?
* Use hashbrown HashMap for faster hasher (or try SeaHash?)
* Put connections and torrent in a struct behind a commong lock. Add
functionality for checking if mutex is unlocked before quitting to
collect requests from channel (try_recv) up to a limit.
* Add config variable like "handler_max_requests" (default 1024?)
* Shorter timeout on handler channel collector (1ms?)
* Handle Ipv4 and Ipv6 peers. Probably split state. Ipv4 peers can't make
use of Ipv6 ones. Ipv6 ones may or may note be able to make use of Ipv4
ones, have to check.