app/models/iro/alert.rb in iron_warbler-2.0.7.4 vs app/models/iro/alert.rb in iron_warbler-2.0.7.5
- old
+ new
@@ -1,8 +1,9 @@
class Iro::Alert < Iro::ApplicationRecord
self.table_name = 'iro_alerts'
+ SLEEP_TIME_SECONDS = Rails.env.production? ? 60 : 15
DIRECTION_ABOVE = 'ABOVE'
DIRECTION_BELOW = 'BELOW'
def self.directions_list
[ nil, DIRECTION_ABOVE, DIRECTION_BELOW ]