From acf1b76da8b70fdcc711b1590891d168f49f4e5c Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 15 Dec 2014 10:07:11 -0500 Subject: [PATCH] reconnectionAttemps in socket.io 1.0x https://github.com/automattic/socket.io-client#managerurlstring-optsobject --- public/src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/app.js b/public/src/app.js index 4b517e4be5..ca8e156849 100644 --- a/public/src/app.js +++ b/public/src/app.js @@ -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' };