Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

start puma in single rather than cluster mode by default (#9382)

Markus Kahlfd9c8fb5774f
diff --git a/config/puma.rb b/config/puma.rb
index 9ba804fbd1a..3c434920b5e 100644
--- a/config/puma.rb
+++ b/config/puma.rb
@@ -21,7 +21,7 @@ environment ENV.fetch("RAILS_ENV") { "development" }
# Workers do not work on JRuby or Windows (both of which do not support
# processes).
#
-workers ENV.fetch("OPENPROJECT_WEB_WORKERS") { 1 }.to_i
+workers ENV.fetch("OPENPROJECT_WEB_WORKERS") { 0 }.to_i
# Use the `preload_app!` method when specifying a `workers` number.
# This directive tells Puma to first boot the application and load code