-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bots: Don't request data again if recently updated
If cached data has been recently pulled (perhaps by another bot) then don't request it again. The except is if we changed something on GitHub (eg: via a POST request). The assumption here is that there will be lag retrieving data from GitHub anyway. So lets institutionalize that assumption and stop posling GitHub so frequently. Previously we treated all data in the Github cache as non-current. That is we did a round trip to GitHub to validate that it was still current. After this commit we treat recent data as current and just use it directly. Closes #6600
- Loading branch information
1 parent
ae7baf1
commit 442d355
Showing
3 changed files
with
72 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters