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

Server should also sweep cache #232

Merged
merged 1 commit into from
Feb 5, 2025
Merged

Server should also sweep cache #232

merged 1 commit into from
Feb 5, 2025

Conversation

brenogazzola
Copy link
Collaborator

@brenogazzola brenogazzola commented Feb 4, 2025

Closes #228
Closes #110

Finally figured out the problem. With puma on cluster mode, a page request might be served by worker 1, which will cause a sweep if there were updates, but an asset served by the server on worker 2... which has not swept the cache yet. And since the request is hitting the Server instance, instead of a controller it will not cause a sweep.

@brenogazzola brenogazzola merged commit 689e756 into main Feb 5, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant