mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
bugfix: repeated ws failures should stop eventually
This commit is contained in:
@@ -274,6 +274,7 @@ class WsRequestor extends BaseRequestor {
|
|||||||
}, 'WsRequestor - unexpected response');
|
}, 'WsRequestor - unexpected response');
|
||||||
this.emit('connection-failure');
|
this.emit('connection-failure');
|
||||||
this.emit('not-ready', new Error(`${res.statusCode} ${res.statusMessage}`));
|
this.emit('not-ready', new Error(`${res.statusCode} ${res.statusMessage}`));
|
||||||
|
this.connections++;
|
||||||
}
|
}
|
||||||
|
|
||||||
_onSocketClosed() {
|
_onSocketClosed() {
|
||||||
|
|||||||
Reference in New Issue
Block a user