openproject
openproject copied to clipboard
rack wait_timeout only in production
According to the rack timout documentation https://github.com/zombocom/rack-timeout/blob/main/doc/settings.md#service-timeout
"Service timeout can be disabled entirely by setting the property to 0 or false."
Limiting the service timeout to be active only in production enables debugging in dev and test env without fearing for the timeout to take oneself out of context.