Replace export_photos and export_users by export queue
This commit is contained in:
parent
25364893b9
commit
e7b92c15e2
3 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
module Workers
|
||||
class ExportPhotos < Base
|
||||
sidekiq_options queue: :export_photos
|
||||
sidekiq_options queue: :export
|
||||
|
||||
def perform(user_id)
|
||||
@user = User.find(user_id)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
module Workers
|
||||
class ExportUser < Base
|
||||
sidekiq_options queue: :export_user
|
||||
sidekiq_options queue: :export
|
||||
|
||||
def perform(user_id)
|
||||
@user = User.find(user_id)
|
||||
|
|
|
|||
|
|
@ -14,6 +14,6 @@
|
|||
- receive
|
||||
- receive_salmon
|
||||
- http
|
||||
- export_user
|
||||
- export
|
||||
- maintenance
|
||||
- default
|
||||
|
|
|
|||
Loading…
Reference in a new issue