mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-24 05:41:29 +00:00
new option: SYNC_COUNTERS (bump schema)
This commit is contained in:
@@ -542,7 +542,11 @@ function request_counters() {
|
||||
var date = new Date();
|
||||
var timestamp = Math.round(date.getTime() / 1000);
|
||||
|
||||
// if (getInitParam("sync_counters") == "1" ||
|
||||
// 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;
|
||||
|
||||
Reference in New Issue
Block a user