Add job to auto-pop the items that are due
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class AutoPopAllDueJob < ApplicationJob
|
||||
queue_as :default
|
||||
|
||||
def perform
|
||||
Bubble.auto_pop_all_due
|
||||
end
|
||||
end
|
||||
@@ -1,4 +1,7 @@
|
||||
production:
|
||||
auto_pop_all_due:
|
||||
class: AutoPopAllDueJob
|
||||
schedule: every hour
|
||||
remove_abandoned_creations:
|
||||
class: RemoveAbandonedCreationsJob
|
||||
schedule: every hour
|
||||
|
||||
Reference in New Issue
Block a user