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

Set service_past_wait=true by default

Oliver Günther0487ef572a1c
diff --git a/config/initializers/rack_timeout.rb b/config/initializers/rack_timeout.rb
index 2f958fa2410..46cf2aae153 100644
--- a/config/initializers/rack_timeout.rb
+++ b/config/initializers/rack_timeout.rb
@@ -11,7 +11,8 @@ if OpenProject::Configuration.web_workers >= 2
::Rack::Timeout,
service_timeout: service_timeout, # time after which a request being served times out
wait_timeout: wait_timeout, # time after which a request waiting to be served times out
- term_on_timeout: 1 # shut down worker (gracefully) right away on timeout to be restarted
+ term_on_timeout: 1, # shut down worker (gracefully) right away on timeout to be restarted
+ service_past_wait: true # Treat the service timeout as independent from the wait timeout
)
Rails.application.config.after_initialize do