Skip to content
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

Merged
merged 4 commits into from
Jun 22, 2022
Merged

Conversation

calebcartwright
Copy link
Member

Refs #7863

@calebcartwright calebcartwright added the service-badge Accepted and actionable changes, features, and bugs label Jun 20, 2022
@@ -108,7 +108,7 @@ class AurVotes extends BaseAurService {

class AurVersion extends BaseAurService {
static category = 'version'

static _cacheLength = 3600
Copy link
Member Author

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

chris48s
chris48s previously approved these changes Jun 20, 2022
Copy link
Member

@chris48s chris48s left a 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..

@calebcartwright
Copy link
Member Author

Is circle not working on in-repo PRs now too??

@chris48s
Copy link
Member

It is the first time I've seen it happen on one that is not from a fork, but apparently so..

@shields-ci
Copy link

shields-ci commented Jun 20, 2022

Warnings
⚠️ This PR modified service code for aur but not its test code.
That's okay so long as it's refactoring existing code.
Messages
📖 ✨ Thanks for your contribution to Shields, @calebcartwright!

Generated by 🚫 dangerJS against 2e5fc6f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service-badge Accepted and actionable changes, features, and bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants