Method: QaServer::PerformanceDatatableCache.data
- Defined in:
- app/cache_processors/qa_server/performance_datatable_cache.rb
.data(force: false) ⇒ Object
Retrieve performance datatable data from the cache
24 25 26 27 28 29 30 31 |
# File 'app/cache_processors/qa_server/performance_datatable_cache.rb', line 24 def self.data(force: false) Rails.cache.fetch(PERFORMANCE_DATATABLE_DATA_CACHE_KEY, expires_in: QaServer::CacheExpiryService.cache_expiry, race_condition_ttl: 5.minutes, force: force) do QaServer.config.monitor_logger.debug("(QaServer::PerformanceDatatableCache) - CALCULATING performance datatable stats (force: #{force})") performance_data_service.calculate_datatable_data end end |