Add minimum timeframe for a self-destructing roar in preparating for implementing.
parent
3f282fe433
commit
841776edfb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue