Skip to content

Commit

Permalink
Use the feeder prefix style
Browse files Browse the repository at this point in the history
  • Loading branch information
svevang committed Apr 24, 2023
1 parent 1b9189e commit dcf469a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/jobs/episode_import_job.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class EpisodeImportJob < ApplicationJob
queue_as :podcast_import
queue_as :feeder_podcast_import

def perform(episode_import)
episode_import.import
Expand Down
2 changes: 1 addition & 1 deletion app/jobs/podcast_import_job.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class PodcastImportJob < ApplicationJob
queue_as :podcast_import
queue_as :feeder_podcast_import

def perform(podcast_import, import_podcast = true)
if import_podcast
Expand Down
1 change: 1 addition & 0 deletions config/shoryuken.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ delay: <%= if ENV["WORKER_PAUSE"].present? then ENV["WORKER_PAUSE"] else 30 end
queues:
- ["<%= prefix %>_feeder_default", 2]
- ["<%= prefix %>_feeder_fixer_callback", 1]
- ["<%= prefix %>_feeder_podcast_import", 1]
- ["<%= prefix %>_announce_feeder_series_create", 1]
- ["<%= prefix %>_announce_feeder_series_update", 1]
- ["<%= prefix %>_announce_feeder_series_delete", 1]
Expand Down

0 comments on commit dcf469a

Please sign in to comment.