mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
9a4c1e205e
This updates ActionView::CacheExpiry to hold a lock while inside the executor (ie. inside a request) and to only clear caches when that is done. This is done using Concurrent::ReadWriteLock. This allows any number of parallel requests to hold the read lock, but once we detect a change and begin to acquire the write lock, all future requests will be blocked. |
||
---|---|---|
.. | ||
action_view | ||
action_view.rb |