In non-SaaS, run jobs in container by default
This commit is contained in:
+5
-2
@@ -7,8 +7,11 @@ pidfile ENV.fetch("PIDFILE", "tmp/pids/server.pid")
|
||||
# Allow puma to be restarted by `bin/rails restart` command.
|
||||
plugin :tmp_restart
|
||||
|
||||
# Run Solid Queue with Puma
|
||||
plugin :solid_queue if ENV["SOLID_QUEUE_IN_PUMA"]
|
||||
# Run Solid Queue with Puma by default.
|
||||
# Disabled when running fizzy-saas or via SOLID_QUEUE_IN_PUMA=false.
|
||||
unless Fizzy.saas? || ENV["SOLID_QUEUE_IN_PUMA"] == "false"
|
||||
plugin :solid_queue
|
||||
end
|
||||
|
||||
# Expose Prometheus metrics at http://0.0.0.0:9394/metrics (SaaS only).
|
||||
# In dev, overridden to http://127.0.0.1:9306/metrics in .mise.toml.
|
||||
|
||||
Reference in New Issue
Block a user