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

rack service_timeout only in production

ulferts83e12847929f
diff --git a/config/constants/settings/definition.rb b/config/constants/settings/definition.rb
index 2af6bc3b15f..ee3dcab35f7 100644
--- a/config/constants/settings/definition.rb
+++ b/config/constants/settings/definition.rb
@@ -1087,7 +1087,7 @@ module Settings
description: "Web worker count and threads configuration",
default: {
"workers" => 2,
- "timeout" => 120,
+ "timeout" => Rails.env.production? ? 120 : 0,
"wait_timeout" => 10,
"min_threads" => 4,
"max_threads" => 16