Browse Source

reduce requestLastHave interval to 5 seconds #39

twisterarmy
d47081 2 years ago
parent
commit
a768eb72e3
  1. 2
      js/interface_home.js

2
js/interface_home.js

@ -75,7 +75,7 @@ var InterfaceFunctions = function() {
twister.var.initializated = true; twister.var.initializated = true;
$(".mini-profile .following-count").text(followingUsers.length-1); $(".mini-profile .following-count").text(followingUsers.length-1);
requestLastHave(); requestLastHave();
setInterval(requestLastHave, 15000); setInterval(requestLastHave, 5000); // #39
initMentionsCount(); initMentionsCount();
initDMsCount(); initDMsCount();
requestTimelineUpdate("latestFirstTime",postsPerRefresh,followingUsers,promotedPostsOnly); requestTimelineUpdate("latestFirstTime",postsPerRefresh,followingUsers,promotedPostsOnly);

Loading…
Cancel
Save