mirror of
https://github.com/curl/curl.git
synced 2026-05-15 17:46:20 +03:00
pytest: increase server KeepAliveTimeout
When CI is not able to give clients enough cpu, the default Apache KeepAliveTimeout of 5 seconds may trigger and cause tests to fail. Increase the timeout to 30 seconds for reliability. Ref: #17963 Closes #17968
This commit is contained in:
parent
bed83d9d33
commit
53e5cdc47b
1 changed files with 1 additions and 0 deletions
|
|
@ -310,6 +310,7 @@ class Httpd:
|
|||
f'LogLevel {self._get_log_level()}',
|
||||
'StartServers 4',
|
||||
'ReadBufferSize 16000',
|
||||
'KeepAliveTimeout 30', # CI may exceed the default of 5 sec
|
||||
'H2MinWorkers 16',
|
||||
'H2MaxWorkers 256',
|
||||
f'TypesConfig "{self._conf_dir}/mime.types',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue