deb
This commit is contained in:
parent
5f7e35a183
commit
cba2961685
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ export default class Handler {
|
|||
const log = getLogger({})
|
||||
log("conneting to relay...")
|
||||
const s = relayInit(this.settings.relays[0]) // TODO: create multiple conns for multiple relays
|
||||
await new Promise<void>(res => s.on('connect', res))
|
||||
await new Promise<void>(res => s.on('connect', () => { console.log("okk"); res() }))
|
||||
log("relay connected, subbing...")
|
||||
s.on('disconnect', () => {
|
||||
log("relay disconnected, will try to reconnect")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue