Display status in admin console, Change the filters to include relevant fields, scopes for device status

This commit is contained in:
leenasn
2015-11-11 14:37:05 +05:30
parent 8116e4e751
commit da6b70c07b
7 changed files with 77 additions and 1 deletions

View File

@@ -77,4 +77,7 @@ Rails.application.configure do
# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false
HEARTBEAT_INTERVAL = 1.hour
ACTIVE_TIMEFRAME = 12.hours
MISSING_TIMEFRAME = 48.hours
end