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

do get requests less often and more intelligently #35

Open
thomasmitchell opened this issue Jun 23, 2020 · 0 comments
Open

do get requests less often and more intelligently #35

thomasmitchell opened this issue Jun 23, 2020 · 0 comments

Comments

@thomasmitchell
Copy link
Collaborator

Certs that aren't expiring for a long time are less likely to be renewed at any given moment. So after we perform a list, if we know about some of the returned paths already and they correspond to certs that aren't expiring in awhile, then we should poll them on a slower schedule. If we're a good polling citizen, then we can justify refreshing more often for the important cases.

the refresh endpoint would need an argument to mean refreshing everything, regardless of impending doom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant