The server to which the Scholar Ninja extension connects to (PeerJS + custom bootstrapping)
Stars
5
Forks
0
Watchers
5
Open Issues
0
Overall repository health assessment
>=0.2.6*25
commits
Add compact function to prevent undefined/falsy keys in the peer list. They are a side-effect of an existing issue where peers try to connect with an undefined key, so this code will be removed once that issue is fixed.
359c03aView on GitHubRemove network checking, because PeerJS should now be better about handling network connectivity issues: https://github.com/peers/peerjs/pull/217
5036019View on GitHubShorten the network check interval to 1/2 maxNoHelloTime.
9364b07View on GitHubStop checking if the peer is there once we remove it from the network.
0819bf6View on GitHubNow on port 9002, with a longer network check interval.
390f834View on GitHubQuick fix for when we try to kill already missing peers' sockets.
dfe4993View on GitHubUse own fork of peerjs-server, adapted to allow for HELLO type messages. Add interval-based network checking to purge stale peers. This is necessary because our main clients, extensions, have no way of getting into the extension lifecycle and signaling to the server that they are about to leave, e.g. when a browser shuts down.
c9b68deView on GitHub