about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-04-16 12:33:01 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:22 -0500
commit841776edfba80a195bec30f3bc8843966fcf4152 (patch)
tree914d554c6bafdf691951a84bdd9a09292697e904 /app
parent3f282fe433845f8294b93bb5c2e9c37cc404da38 (diff)
Add minimum timeframe for a self-destructing roar in preparating for implementing.
Diffstat (limited to 'app')
-rw-r--r--app/services/remove_status_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/remove_status_service.rb b/app/services/remove_status_service.rb
index 6e4998e07..9f3b2d32c 100644
--- a/app/services/remove_status_service.rb
+++ b/app/services/remove_status_service.rb
@@ -4,6 +4,8 @@ class RemoveStatusService < BaseService
   include StreamEntryRenderer
   include Redisable
 
+  MIN_SCHEDULE_OFFSET = 60.seconds.freeze
+
   def call(status, **options)
     @payload      = Oj.dump(event: :delete, payload: status.id.to_s)
     @status       = status