changed timeout to 2s

This commit is contained in:
cubedro 2015-05-11 16:24:18 +03:00
parent afc9875fde
commit 748131bbea
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ var MAX_HISTORY_UPDATE = 50;
Socket = Primus.createSocket({
transformer: 'websockets',
pathname: '/api',
timeout: 60000,
timeout: 120000,
strategy: 'disconnect,online',
plugin: {emitter: Emitter, sparkLatency: Latency}
});