search for: race_condition_ttl

Displaying 1 result from an estimated 1 matches for "race_condition_ttl".

2010 Apr 22
7
Making ActiveSupport::Cache consistent
...ctionDispatch::Http::Cache since the logic in the method used some Rails specific environment variables and was only used by ActionPack classes. Not very DRY but there didn''t seem to be a good shared spot and ActiveSupport really shouldn''t be Rails specific. * Add support for :race_condition_ttl to fetch. This setting can prevent race conditions on fetch calls where several processes try to regenerate a recently expired entry at once. * Add support for :compress option to fetch and write which will compress any data over a configurable threshold. * Nil values can now be stored in t...