Clear SERVERID cookie when reconnecting gracefully

This commit is contained in:
James Allen 2016-10-25 14:09:36 +01:00
parent 52754e038a
commit 43aeb5a21d

View file

@ -204,4 +204,6 @@ define [], () ->
_reconnectGracefullyNow: () ->
@gracefullyReconnecting = true
@reconnectGracefullyStarted = null
# Clear cookie so we don't go to the same backend server
$.cookie("SERVERID", "", { expires: -1, path: "/" })
@reconnectImmediately()