tweak catchup_callback
This commit is contained in:
parent
933959978a
commit
af6f8bf241
|
@ -22,11 +22,11 @@ function catchup_callback() {
|
||||||
if (xmlhttp_rpc.readyState == 4) {
|
if (xmlhttp_rpc.readyState == 4) {
|
||||||
try {
|
try {
|
||||||
debug("catchup_callback");
|
debug("catchup_callback");
|
||||||
if (_catchup_callback_func) {
|
|
||||||
setTimeout(_catchup_callback_func, 100);
|
|
||||||
}
|
|
||||||
notify("");
|
notify("");
|
||||||
all_counters_callback();
|
all_counters_callback();
|
||||||
|
if (_catchup_callback_func) {
|
||||||
|
setTimeout(_catchup_callback_func, 10);
|
||||||
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
exception_error("catchup_callback", e);
|
exception_error("catchup_callback", e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue