enhancement: connection timeout

This commit is contained in:
Unitech 2016-04-01 19:44:01 +02:00
parent ab5499fc69
commit ba0d36dc3f

View File

@ -38,7 +38,7 @@ function setupConnection(host) {
client.on('error', function(e) {
console.log('[PUSH] Client got error', e.message);
// axon does not reconnect on error
self.reconnect();
that.reconnect();
});
client.on('close', function(e) {