mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
reconnectionAttemps in socket.io 1.0x
https://github.com/automattic/socket.io-client#managerurlstring-optsobject
This commit is contained in:
@@ -76,7 +76,7 @@ var socket,
|
|||||||
}, 200);
|
}, 200);
|
||||||
} else {
|
} else {
|
||||||
var ioParams = {
|
var ioParams = {
|
||||||
'max reconnection attempts': config.maxReconnectionAttempts,
|
reconnectionAttempts: config.maxReconnectionAttempts,
|
||||||
reconnectionDelay : config.reconnectionDelay,
|
reconnectionDelay : config.reconnectionDelay,
|
||||||
path: RELATIVE_PATH + '/socket.io'
|
path: RELATIVE_PATH + '/socket.io'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user