bug fix : adding another sleep for 2s
This commit is contained in:
parent
a0387132cf
commit
da3e5bdad4
@ -6050,8 +6050,9 @@
|
|||||||
floSupernode.initSupernode(serverPwd, myFloID).then(async result => {
|
floSupernode.initSupernode(serverPwd, myFloID).then(async result => {
|
||||||
console.log(result)
|
console.log(result)
|
||||||
await sleep(5000)
|
await sleep(5000)
|
||||||
connectToAllBackupSupernode().then(result => {
|
connectToAllBackupSupernode().then(async result => {
|
||||||
console.log(result)
|
console.log(result)
|
||||||
|
await sleep(2000)
|
||||||
reactor.dispatchEvent("indicate_supernode_up",myFloID)
|
reactor.dispatchEvent("indicate_supernode_up",myFloID)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user