mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
possible fix for #1467
This commit is contained in:
@@ -117,7 +117,7 @@ var socket,
|
||||
});
|
||||
|
||||
socket.on('reconnecting', function (data, attempt) {
|
||||
if(attempt === config.maxReconnectionAttempts) {
|
||||
if(attempt === parseInt(config.maxReconnectionAttempts, 10)) {
|
||||
socket.socket.reconnectionAttempts = 0;
|
||||
socket.socket.reconnectionDelay = config.reconnectionDelay;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user