mirror of
https://github.com/apache/httpd.git
synced 2025-08-16 16:17:23 +00:00
test/core: Allow for 12 simultaneous connections in test_core_002_01.
It seems that h2load somehow issues more connections than the 6 requested (saw up to 12), so adapt the MPM event configuration accordingly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899862 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -16,14 +16,16 @@ class TestRestarts:
|
|||||||
def _class_scope(self, env):
|
def _class_scope(self, env):
|
||||||
conf = HttpdConf(env, extras={
|
conf = HttpdConf(env, extras={
|
||||||
'base': f"""
|
'base': f"""
|
||||||
StartServers 1
|
StartServers 1
|
||||||
ServerLimit 4
|
ServerLimit 3
|
||||||
ThreadLimit 2
|
ThreadLimit 4
|
||||||
ThreadsPerChild 2
|
ThreadsPerChild 4
|
||||||
MinSpareThreads 2
|
MinSpareThreads 4
|
||||||
MaxSpareThreads 4
|
MaxSpareThreads 6
|
||||||
MaxRequestWorkers 8
|
MaxRequestWorkers 12
|
||||||
MaxConnectionsPerChild 0
|
MaxConnectionsPerChild 0
|
||||||
|
|
||||||
|
LogLevel mpm_event:trace6
|
||||||
""",
|
""",
|
||||||
})
|
})
|
||||||
conf.add_vhost_cgi()
|
conf.add_vhost_cgi()
|
||||||
|
Reference in New Issue
Block a user