libp2p / observer-toolkit

🐣 [WIP] toolkit for building libp2p introspection widgets + a few useful out-of-the-box widgets
https://libp2p.io
MIT License
2 stars 2 forks source link

Remove UI data at cutoff point #54

Closed ovhemert closed 4 years ago

ovhemert commented 4 years ago

Removes closed connections from the UI after they have been closed for x amount of seconds.

AlanSl commented 4 years ago

@ovhemert I've updated this with latest from socket-adjustments (no problems) and added a commit making the cutoff come from the runtime message and adding the usual mock configurability so a custom cutoff can be passed in like npm run mock-sock -- -t 40 or npm run mock-file -- --cutoff 40 for 40 seconds

AlanSl commented 4 years ago

Am looking at the new test failure now, didn't happen locally for some reason

AlanSl commented 4 years ago

@ovhemert All passing now, can you check you're happy with the changes I made here

ovhemert commented 4 years ago

LGTM