IDEMPIERE-729 Firefox becomes very slow randomly after working on zkwebui. Some improvement but still slow down over time with ever growing memory usage.

This commit is contained in:
Heng Sin Low 2013-06-26 03:16:22 +08:00
parent 209abb49ee
commit 6cb2e6180b
4 changed files with 3 additions and 4 deletions

View File

@ -222,7 +222,7 @@ public class AtmosphereServerPush implements ServerPush {
boolean suspend = !desktopCtrl.scheduledServerPush();
if (suspend) {
if (!resource.isSuspended()) {
resource.suspend(-1, true);
resource.suspend(-1, false);
}
this.resource.set(resource);

View File

@ -173,7 +173,6 @@ public class ExportAction implements EventListener<Event>
exportFile();
else if (event.getName().equals(DialogEvents.ON_WINDOW_CLOSE)) {
panel.hideBusyMask();
panel.getComponent().invalidate();
}
}

View File

@ -247,7 +247,6 @@ public class FileImportAction implements EventListener<Event>
importFile();
} else if (event.getName().equals(DialogEvents.ON_WINDOW_CLOSE)) {
panel.hideBusyMask();
panel.getComponent().invalidate();
}
}

View File

@ -24,7 +24,8 @@
this.timeout = timeout;
},
_schedule: function() {
if (this.failures < 100) {
if (this.failures < 20) {
this._req = null;
setTimeout(this.proxy(this._send), this.delay);
} else {
this.stop();