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

Increased default BADGE_MAX_AGE_SECONDS #1846

Merged
merged 4 commits into from
Aug 7, 2018
Merged

Conversation

PyvesB
Copy link
Member

@PyvesB PyvesB commented Aug 4, 2018

This is related to discussions in #1806. Until that pull request is merged and we have an easy way of configuring the environment variables on the server, we should have a non-0 value in the meantime.

@paulmelnikow suggested 60 seconds whereas @Nyholm was advocating larger values (300, 600), so I've opted for something intermediary, 120 seconds. We can easily change it if need-be and revert it once the other PR is merged.

@PyvesB PyvesB added the performance-improvement Related to performance or throughput of the badge servers label Aug 4, 2018
@shields-ci
Copy link

shields-ci commented Aug 4, 2018

Messages
📖

✨ Thanks for your contribution to Shields, @PyvesB!

📖

Thanks for contributing to our documentation. We ❤️ our documentarians!

Generated by 🚫 dangerJS

@paulmelnikow
Copy link
Member

Under the circumstances, I'm fine with this. 😝

Should we add a note to the website where we talk about maxAge, to indicate that stale responses might be cached for a couple minutes?

@PyvesB
Copy link
Member Author

PyvesB commented Aug 4, 2018

@paulmelnikow I have included the current default inside the maxAge explanation on the website.

@paulmelnikow paulmelnikow merged commit da403b7 into badges:master Aug 7, 2018
@shields-deployment
Copy link

This pull request was merged to master branch. Now this change is waiting for deployment.
Deploys usually happen every few weeks. After deployment changes are copied to gh-pages branch.

This badge displays deployment status:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance-improvement Related to performance or throughput of the badge servers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants