Closed pkcs8 closed 2 years ago
setInterval(pollAllPeers, ENV.PEERSYNC_POLL_INTERVAL, peerManager) in peersync processor would keep starting new connections, even if the previous one is active. Added a lock to ensure there's only one client connection per peer.
setInterval(pollAllPeers, ENV.PEERSYNC_POLL_INTERVAL, peerManager)
Lock added
setInterval(pollAllPeers, ENV.PEERSYNC_POLL_INTERVAL, peerManager)
in peersync processor would keep starting new connections, even if the previous one is active. Added a lock to ensure there's only one client connection per peer.