mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
enhancement: connection timeout
This commit is contained in:
parent
ab5499fc69
commit
ba0d36dc3f
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user