Skip to content

Commit

Permalink
Remove queue name prefix in production environment
Browse files Browse the repository at this point in the history
The queue name prefix will cause litejob can not to process background jobs.
  • Loading branch information
aidewoode committed Dec 11, 2023
1 parent 4877dcb commit 8ca826c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@
# Use a real queuing backend for Active Job (and separate queues per environment).
config.active_job.queue_adapter = BlackCandy::Config.redis_sidekiq_url.present? ? :sidekiq : :litejob

config.active_job.queue_name_prefix = "black_candy_production"

# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation cannot be found).
config.i18n.fallbacks = true
Expand Down

0 comments on commit 8ca826c

Please sign in to comment.