2
2
mirror of https://github.com/m1k1o/neko.git synced 2024-07-24 14:40:50 +12:00

reset _total_reconnects on open.

This commit is contained in:
Miroslav Šedivý 2021-07-30 22:52:16 +02:00
parent 3fa0831f43
commit 0554b69d82

@ -123,6 +123,7 @@ export class Reconnector extends EventEmitter<ReconnectorEvents> {
if (!this._open) {
this._open = true
this._total_reconnects = 0
this.emit('open')
}