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:
parent
ec22b7bb76
commit
58754236a0
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue