remove solid_queue
This commit is contained in:
@ -38,7 +38,7 @@ env:
|
||||
clear:
|
||||
# Run the Solid Queue Supervisor inside the web server's Puma process to do jobs.
|
||||
# When you start using multiple servers, you should split out job processing to a dedicated machine.
|
||||
SOLID_QUEUE_IN_PUMA: true
|
||||
SOLID_QUEUE_IN_PUMA: false
|
||||
|
||||
# Set number of processes dedicated to Solid Queue (default: 1)
|
||||
# JOB_CONCURRENCY: 3
|
||||
|
||||
@ -73,7 +73,7 @@ Rails.application.configure do
|
||||
MissionControl::Jobs.http_basic_auth_user = "dev"
|
||||
MissionControl::Jobs.http_basic_auth_password = "secret"
|
||||
|
||||
config.active_job.queue_adapter = :solid_queue
|
||||
config.solid_queue.connects_to = { database: { writing: :queue } }
|
||||
config.solid_queue.silence_polling = true
|
||||
# config.active_job.queue_adapter = :solid_queue
|
||||
# config.solid_queue.connects_to = { database: { writing: :queue } }
|
||||
# config.solid_queue.silence_polling = true
|
||||
end
|
||||
|
||||
@ -34,10 +34,10 @@ port ENV.fetch("PORT", 3000)
|
||||
plugin :tmp_restart
|
||||
|
||||
# Run the Solid Queue supervisor inside of Puma for single-server deployments
|
||||
plugin :solid_queue if ENV["SOLID_QUEUE_IN_PUMA"]
|
||||
# plugin :solid_queue if ENV["SOLID_QUEUE_IN_PUMA"]
|
||||
|
||||
# Specify the PID file. Defaults to tmp/pids/server.pid in development.
|
||||
# In other environments, only set the PID file if requested.
|
||||
pidfile ENV["PIDFILE"] if ENV["PIDFILE"]
|
||||
|
||||
plugin :solid_queue
|
||||
# plugin :solid_queue
|
||||
|
||||
Reference in New Issue
Block a user