Add minimum timeframe for a self-destructing roar in preparating for implementing.

staging
multiple creatures 2019-04-16 12:33:01 -05:00
parent 3f282fe433
commit 841776edfb
1 changed files with 2 additions and 0 deletions

View File

@ -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