Skip to content
Snippets Groups Projects
Commit 7ec8ce1a authored by Rehab Hassanein's avatar Rehab Hassanein Committed by Achilleas Pipinellis
Browse files

Document how to change Puma timeout

parent 01dc0074
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -68,4 +68,12 @@ puma['per_worker_max_memory_mb'] = 850
 
Unlike Unicorn, the `puma['worker_timeout']` setting does not set maximum request duration.
A [timeout of 60 seconds](https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/initializers/rack_timeout.rb)
is used when Puma is enabled. This limit is not configurable.
is used when Puma is enabled.
To change this timeout, change the following setting in `/etc/gitlab/gitlab.rb`:
```ruby
gitlab_rails['env'] = {
'GITLAB_RAILS_RACK_TIMEOUT' => 600
}
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment