Skip to content

Commit

Permalink
TODO: review code + real commit message
Browse files Browse the repository at this point in the history
switch from using a single persistent connection to using a socket
per-request. Mainly to prevent inspecting messages that have no
relevance to our process when there are no active requests. And to
prevent wasted memory/processing maintaining our own message queue.

*hasty re-write, but it seems much better
no real benchmarks, but running on 2 systems for 48 hours shows
no errors (excluding "no-route" errors), ~2% cpu reduction, and a
faster ipfs bootstrap.
  • Loading branch information
djdv committed Mar 6, 2021
1 parent 7b930c8 commit 8c62280
Showing 1 changed file with 96 additions and 266 deletions.
Loading

0 comments on commit 8c62280

Please sign in to comment.