I'm executing the following puma configuration
threads_count = Integer(ENV["DB_POOL"] || ENV["MAX_THREADS"] || 15)
threads threads_count, threads_count
port ENV["PORT"] || 3000
environment ENV["RACK_ENV"] || "development"
It works fine for production but I do not want to create 3 workers or use webrick in dev environment. If I try and wrap the worker specific code in env check, it breaks the puma DSL. Any other way I could run puma in non clustered mode in dev.