Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

There is an indication of a bug either in the implementation of the s…

…erver or of the client.

The socket.io connection still seems to remain active.
This will just kill the symptoms from a user perspective, the bug is still there.
  • Loading branch information...
commit 45d88d58dcc6af9f9a3b5d3721c50d65f578149c 1 parent d19ba7f
@microp11 microp11 authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 public/js/app.js
View
7 public/js/app.js
@@ -405,8 +405,8 @@ $(document).ready(function() {
requestWebUsers();
}
var header_class = (c.getStatsEnabled() == true) ? 'header-stats' : 'header-stats off';
- nickLabel.html('<span class="'+header_class+'">Server up for: ' + c.getServerTime()
- + ', mem: ' + c.getMinRss() + '/' + c.getMaxRss() + 'MB</span> ' + nickname);
+ nickLabel.html('<span class="'+header_class+'">Server up for ' + c.getServerTime()
+ + ', using ' + c.getMinRss() + '-' + c.getMaxRss() + ' MB of RAM</span> ' + nickname);
break;
case "webusers":
webNicks = obj.wu;
@@ -446,6 +446,9 @@ $(document).ready(function() {
* so we make sure the socket won't reconnect: doNotReconnect = true
*/
var handleDisconnect = function () {
+ if (doNotReconnect == true) {
+ return;
+ };
doNotReconnect = true;
setTimeout( function () {
appendEvent("*", "disconnected", false);
Please sign in to comment.
Something went wrong with that request. Please try again.