Method: QaServer::Configuration#hour_offset_to_expire_cache

Defined in:
lib/qa_server/configuration.rb

#hour_offset_to_expire_cacheInteger Also known as: hour_offset_to_run_monitoring_tests

Preferred hour to expire caches related to slow running calculations (e.g. monitoring tests, performance data)

Returns:

  • (Integer)

    count of hours after midnight (0-23 with 0=midnight)



25
26
27
# File 'lib/qa_server/configuration.rb', line 25

def hour_offset_to_expire_cache
  @hour_offset_to_expire_cache ||= 3
end