-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
increase cache length on AUR version badge, run [AUR] #8110
Conversation
services/aur/aur.service.js
Outdated
@@ -108,7 +108,7 @@ class AurVotes extends BaseAurService { | |||
|
|||
class AurVersion extends BaseAurService { | |||
static category = 'version' | |||
|
|||
static _cacheLength = 3600 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open to alternative suggestions, but I'm very intentionally swinging fairly big here. Of the >18k AUR requests we've had over the last 24 hours, nearly 16k of those were for the version badges.
I realize that version badges tend to be more sensitive to recency needs, but I think we'll need to be aggressive here if we're to have a chance of staying within AURs 4k/day limit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might as well give it a go..
Is circle not working on in-repo PRs now too?? |
It is the first time I've seen it happen on one that is not from a fork, but apparently so.. |
|
Refs #7863