Closed huacnlee closed 3 years ago
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.
version 2.8.0 fixed this.
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.
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.