Class: Dis::Jobs::Evict
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- Dis::Jobs::Evict
- Defined in:
- lib/dis/jobs/evict.rb
Overview
Dis Evict Job
Handles cache eviction for cache layers. Evicts files in LRU order, but only after they have been replicated to a non-cache writeable layer. Retries up to 10 times on failure.
Instance Method Summary collapse
Instance Method Details
#perform ⇒ void
This method returns an undefined value.
19 20 21 |
# File 'lib/dis/jobs/evict.rb', line 19 def perform Dis::Storage.evict_caches end |