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

Add jitter to autosync functionality #90

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Add jitter to autosync functionality #90

merged 1 commit into from
Feb 29, 2024

Conversation

n1k0sv
Copy link

@n1k0sv n1k0sv commented Feb 29, 2024

Content is cached in the service for about 1hour unless invalidated. There is already a function in place that if 1hour has elapsed, content will be refreshed.

This can cause some pressure to the system, so with this PR we are adding a random jitter in the auto-sync window to reduce chances that mass amount of content is refreshed at the same time.

@n1k0sv n1k0sv merged commit 767d661 into master Feb 29, 2024
1 check passed
@n1k0sv n1k0sv deleted the autosync-jitter branch February 29, 2024 11:00
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