increased max socket reconnect attempts

This commit is contained in:
cubedro 2015-06-02 05:29:16 +03:00
parent fd3abea39c
commit 593dbb4b0c

View File

@ -40,6 +40,9 @@ Socket = Primus.createSocket({
pathname: '/api', pathname: '/api',
timeout: 120000, timeout: 120000,
strategy: 'disconnect,online,timeout', strategy: 'disconnect,online,timeout',
reconnect: {
retries: 30
},
plugin: {emitter: Emitter, sparkLatency: Latency} plugin: {emitter: Emitter, sparkLatency: Latency}
}); });