kinode-dao / kinode

Kinode OS runtime
https://kinode.org
Apache License 2.0
35 stars 13 forks source link

net: add MAX_PEERS, add idle timeouts #563

Closed dr-frmr closed 1 month ago

dr-frmr commented 1 month ago

Problem

networking module does not track number of pipes used, leading to potential overuse in combination with file-handler modules.

Solution

add infra to net:distro:sys that tracks number of open connections, enables closing excess ones

Testing

highly involved - test networking at load under number of configs

Docs Update

TODO