Auto reconnect.
This commit is contained in:
parent
e6ebc347e5
commit
0b17556fa4
@ -216,6 +216,9 @@ function Xo(opts) {
|
||||
self._connection = null;
|
||||
self.objects.clear();
|
||||
self.status = 'disconnected';
|
||||
|
||||
// Automatically reconnect.
|
||||
self.connect();
|
||||
});
|
||||
|
||||
self._api.on('notification', function (notification) {
|
||||
|
Loading…
Reference in New Issue
Block a user