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

Disable RequestCache without Rails application #219

Closed
huacnlee opened this issue Sep 14, 2021 · 2 comments
Closed

Disable RequestCache without Rails application #219

huacnlee opened this issue Sep 14, 2021 · 2 comments

Comments

@huacnlee
Copy link
Owner

In some cases (Sidekiq or other background job), RequestCache will can not expire. because it requirement Rails ActionController lifecycle to clean RequestCache.

There need a check to disable when not use in ActionController.

@huacnlee
Copy link
Owner Author

version 2.8.0 fixed this.

@andredriem
Copy link

andredriem commented Jul 26, 2022

This still seems to be an issue with 2.8.2. I'm using Sidekiq and as a workaround I'm using "Setting.clear_cache" before each perform.

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

2 participants