Send initial discovery request
This commit is contained in:
parent
d854583528
commit
ed2bd33da0
1 changed files with 2 additions and 0 deletions
|
|
@ -43,6 +43,8 @@ class Client extends EventEmitter {
|
|||
|
||||
this.signalHandler = this.sendDiscoveryMessage
|
||||
|
||||
this.sendDiscoveryRequest()
|
||||
|
||||
this.pingInterval = setInterval(() => {
|
||||
this.sendDiscoveryRequest()
|
||||
}, 2000)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue