reconnectionAttemps in socket.io 1.0x

https://github.com/automattic/socket.io-client#managerurlstring-optsobject
This commit is contained in:
barisusakli
2014-12-15 10:07:11 -05:00
parent 76480d4d31
commit acf1b76da8

View File

@@ -76,7 +76,7 @@ var socket,
}, 200);
} else {
var ioParams = {
'max reconnection attempts': config.maxReconnectionAttempts,
reconnectionAttempts: config.maxReconnectionAttempts,
reconnectionDelay : config.reconnectionDelay,
path: RELATIVE_PATH + '/socket.io'
};