mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 12:02:13 +00:00
set socket.io 'reconnection limit' max to 5 minutes #371
This commit is contained in:
parent
e30b9ba54b
commit
a0987274c0
1 changed files with 1 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ habitrpgStore = require('./store')
|
|||
|
||||
racer = require 'racer'
|
||||
racer.io.set('transports', ['xhr-polling'])
|
||||
racer.ioClient.set('reconnect limit', 300000) # max reconect timeout to 5 minutes
|
||||
racer.set('bundleTimeout', 40000)
|
||||
#unless process.env.NODE_ENV == 'production'
|
||||
# racer.use(racer.logPlugin)
|
||||
|
|
|
|||
Loading…
Reference in a new issue