changed timeout to 2s
This commit is contained in:
parent
afc9875fde
commit
748131bbea
@ -38,7 +38,7 @@ var MAX_HISTORY_UPDATE = 50;
|
|||||||
Socket = Primus.createSocket({
|
Socket = Primus.createSocket({
|
||||||
transformer: 'websockets',
|
transformer: 'websockets',
|
||||||
pathname: '/api',
|
pathname: '/api',
|
||||||
timeout: 60000,
|
timeout: 120000,
|
||||||
strategy: 'disconnect,online',
|
strategy: 'disconnect,online',
|
||||||
plugin: {emitter: Emitter, sparkLatency: Latency}
|
plugin: {emitter: Emitter, sparkLatency: Latency}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user