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:
parent
3fa0831f43
commit
0554b69d82
@ -123,6 +123,7 @@ export class Reconnector extends EventEmitter<ReconnectorEvents> {
|
|||||||
|
|
||||||
if (!this._open) {
|
if (!this._open) {
|
||||||
this._open = true
|
this._open = true
|
||||||
|
this._total_reconnects = 0
|
||||||
this.emit('open')
|
this.emit('open')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user