Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class Conversations::ReopenSnoozedConversationsJob < ApplicationJob
|
||||
queue_as :low
|
||||
|
||||
def perform
|
||||
Conversation.where(status: :snoozed).where(snoozed_until: 3.days.ago..Time.current).all.find_each(batch_size: 100, &:open!)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user