tune copr-dist-git.conf

cgit can take up to 10 minutes - rarely even longer
Once run, it will create cache, but initial run is long.
So I increased timeout a lot.
But to not take down the server with lots of processes, I limited concurent processes.
In normal situation it is more than enough.
And when cgit creates cache, it can lock down few users. But it will create the cache and next run will be fast.
This commit is contained in:
Miroslav Suchý 2016-07-05 20:03:21 +02:00
parent ec22b7bb76
commit 58754236a0

View file

@ -4,3 +4,13 @@ Alias /per-task-logs /var/lib/copr-dist-git/per-task-logs
AllowOverride None
Require all granted
</Directory>
<IfModule mpm_prefork_module>
StartServers 2
MinSpareServers 2
MaxSpareServers 3
ServerLimit 10
MaxRequestsPerChild 10000
</IfModule>
TimeOut 1200