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:
parent
209abb49ee
commit
6cb2e6180b
|
@ -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);
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue