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

option to continously update zts domain cache files #2169

Merged
merged 2 commits into from
May 15, 2023
Merged

Conversation

havetisyan
Copy link
Collaborator

To keep the cached domain files in ZTS up-to-date, the server needs to periodically fetch the domain files and update the local copy. This is also necessary when ZMS server rotates its private key, and we need to make sure all cached files are updated before retiring the old private key.

Now, the server will periodically refresh the "stale" domain files based on the refresh timeout configuration setting. In order not to generate too much load on the ZMS server, we're not going to refresh all domain files at once but during each run we'll only process the configured number of domains.

@havetisyan havetisyan merged commit 7099e53 into master May 15, 2023
@havetisyan havetisyan deleted the domain-refresh1 branch May 15, 2023 16:01
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

Successfully merging this pull request may close these issues.

2 participants