1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 11:15:56 +00:00

delay counters request on promise completion a bit

This commit is contained in:
Andrew Dolgov
2018-12-16 12:41:27 +03:00
parent b66deb3240
commit 54ce930b8d
2 changed files with 4 additions and 3 deletions

View File

@@ -141,7 +141,9 @@ define(["dojo/_base/declare"], function (declare) {
if (promises.length > 0)
Promise.all([promises]).then(() => {
Feeds.requestCounters(true);
setTimeout(() => {
Feeds.requestCounters(true);
}, 1000);
});
},