From 25ea52461887f133a8968bb611c7bf5a356e2e61 Mon Sep 17 00:00:00 2001 From: Leena Date: Fri, 12 Feb 2016 22:21:49 +0530 Subject: [PATCH] Change the heartbeat interval and the missing and dead device duration --- config/environments/production.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 92421cd..a2fc4ea 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -76,8 +76,8 @@ Rails.application.configure do # Do not dump schema after migrations. config.active_record.dump_schema_after_migration = false - HEARTBEAT_INTERVAL = 1.hour + HEARTBEAT_INTERVAL = 12.hour - ACTIVE_TIMEFRAME = 12.hours - MISSING_TIMEFRAME = 48.hours + ACTIVE_TIMEFRAME = 48.hours + MISSING_TIMEFRAME = 120.hours end