Class: QaServer::MonitorCacheService
- Inherits:
-
Object
- Object
- QaServer::MonitorCacheService
- Defined in:
- app/services/qa_server/monitor_cache_service.rb
Class Method Summary collapse
-
.cache_expiry ⇒ Float
Number of seconds until cache should expire.
Class Method Details
.cache_expiry ⇒ Float
Returns number of seconds until cache should expire.
7 8 9 |
# File 'app/services/qa_server/monitor_cache_service.rb', line 7 def cache_expiry monitoring_expires_at - QaServer::TimeService.current_time end |