temporarily remove frontend counter request rate limit
This commit is contained in:
parent
b71e188e27
commit
ea003fc2cd
|
@ -623,14 +623,17 @@ function request_counters() {
|
||||||
// if (getInitParam("sync_counters") == "1" ||
|
// if (getInitParam("sync_counters") == "1" ||
|
||||||
// timestamp - counters_last_request > 10) {
|
// timestamp - counters_last_request > 10) {
|
||||||
|
|
||||||
if (timestamp - counters_last_request > 10) {
|
/* if (timestamp - counters_last_request > 10) {
|
||||||
|
|
||||||
debug("scheduling request of counters...");
|
debug("scheduling request of counters...");
|
||||||
window.setTimeout("request_counters_real()", 1000);
|
window.setTimeout("request_counters_real()", 1000);
|
||||||
counters_last_request = timestamp;
|
counters_last_request = timestamp;
|
||||||
} else {
|
} else {
|
||||||
debug("request_counters: rate limit reached: " + (timestamp - counters_last_request));
|
debug("request_counters: rate limit reached: " + (timestamp - counters_last_request));
|
||||||
}
|
} */
|
||||||
|
|
||||||
|
window.setTimeout("request_counters_real()", 1000);
|
||||||
|
counters_last_request = timestamp;
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
exception_error("request_counters", e);
|
exception_error("request_counters", e);
|
||||||
|
|
Loading…
Reference in New Issue