Only fetch tweet data once at 37 minutes past the hour
It was triggering for every second at xx:37 (60 times), oops
This commit is contained in:
parent
c1001ba0fe
commit
f9b3b05854
1 changed files with 1 additions and 1 deletions
|
@ -874,7 +874,7 @@ function run_timer()
|
|||
}
|
||||
|
||||
// @sifen_trackbot updates come out at 36 minutes past the hour, fetch them at 37 minutes to allow for some slop
|
||||
if (minute(now) == 37 || window.immediately_refresh_tier_cutoffs) {
|
||||
if ((minute(now) == 37 && second(now) == 0) || window.immediately_refresh_tier_cutoffs) {
|
||||
$("#tier_info_output_area").html("<h2>Updating tier cutoff data, please wait...</h2>");
|
||||
twitterFetcher.fetch(config5);
|
||||
window.immediately_refresh_tier_cutoffs = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue