mirror of
https://github.com/ditkrg/outboxable.git
synced 2026-01-22 13:56:49 +00:00
Update outbox.rb
This commit is contained in:
parent
35496ea7b5
commit
689d4effe8
@ -21,6 +21,7 @@ class Outbox < ApplicationRecord
|
||||
|
||||
def publish
|
||||
Outboxable::Worker.perform_async(id)
|
||||
update(status: :processing, last_attempted_at: 1.minute.from_now)
|
||||
end
|
||||
|
||||
def check_publishing
|
||||
|
||||
Loading…
Reference in New Issue
Block a user