Notes
This commit is contained in:
@@ -307,6 +307,7 @@ export class PeerManager {
|
|||||||
// TODO: What do we do if we lose connection to the bootstrap peer?
|
// TODO: What do we do if we lose connection to the bootstrap peer?
|
||||||
// If we have other connections, it probably doesn't matter.
|
// If we have other connections, it probably doesn't matter.
|
||||||
// Eventually we want the bootstrap peer to be no different than any other peer anyway.
|
// Eventually we want the bootstrap peer to be no different than any other peer anyway.
|
||||||
|
// We should disconnect from the websocket once we connect to our intial peers.
|
||||||
|
|
||||||
// If we have no peer connections, try to connect. If connection fails, start a timer to reconnect.
|
// If we have no peer connections, try to connect. If connection fails, start a timer to reconnect.
|
||||||
if (remotePeerID === this.bootstrapPeerID) {
|
if (remotePeerID === this.bootstrapPeerID) {
|
||||||
|
|||||||
Reference in New Issue
Block a user