temporarily remove frontend counter request rate limit

This commit is contained in:
Andrew Dolgov 2009-01-16 16:29:13 +01:00
parent b71e188e27
commit ea003fc2cd
1 changed files with 5 additions and 2 deletions

View File

@ -623,14 +623,17 @@ function request_counters() {
// if (getInitParam("sync_counters") == "1" ||
// timestamp - counters_last_request > 10) {
if (timestamp - counters_last_request > 10) {
/* if (timestamp - counters_last_request > 10) {
debug("scheduling request of counters...");
window.setTimeout("request_counters_real()", 1000);
counters_last_request = timestamp;
} else {
debug("request_counters: rate limit reached: " + (timestamp - counters_last_request));
}
} */
window.setTimeout("request_counters_real()", 1000);
counters_last_request = timestamp;
} catch (e) {
exception_error("request_counters", e);