fix: update Active Job queue adapter to Sidekiq
- Comment out previous queue adapter setting for Solid Queue - Set Active Job queue adapter to Sidekiq for better performance This change updates the Active Job queue adapter from Solid Queue to Sidekiq. This adjustment is intended to improve job processing performance and reliability in production environments. The previous adapter setting will be retained as a comment for reference.
This commit is contained in:
parent
f74f34ce82
commit
c20ff296eb
@ -50,7 +50,8 @@ Rails.application.configure do
|
|||||||
config.cache_store = :solid_cache_store
|
config.cache_store = :solid_cache_store
|
||||||
|
|
||||||
# Replace the default in-process and non-durable queuing backend for Active Job.
|
# Replace the default in-process and non-durable queuing backend for Active Job.
|
||||||
config.active_job.queue_adapter = :solid_queue
|
# config.active_job.queue_adapter = :solid_queue
|
||||||
|
config.active_job.queue_adapter = :sidekiq
|
||||||
config.solid_queue.connects_to = { database: { writing: :queue } }
|
config.solid_queue.connects_to = { database: { writing: :queue } }
|
||||||
|
|
||||||
# Ignore bad email addresses and do not raise email delivery errors.
|
# Ignore bad email addresses and do not raise email delivery errors.
|
||||||
|
Loading…
Reference in New Issue
Block a user