File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 8
8
# The max number of simultaneous requests that will be served.
9
9
# This is the old name and is still supported. The new name is
10
10
# MaxRequestWorkers as of 2.3.13.
11
+ # If maxreuestworkers is set, this value is ignored.
11
12
#
12
13
# @param minsparethreads
13
14
# Minimum number of idle threads to handle request spikes.
40
41
# @param apache_version
41
42
# Used to verify that the Apache version you have requested is compatible with the module.
42
43
#
44
+ # @param maxrequestworkers
45
+ # Maximum number of connections that will be processed simultaneously
46
+ # if set, maxclients is ignored
47
+ #
43
48
# @see https://httpd.apache.org/docs/current/mod/worker.html for additional documentation.
44
49
#
45
50
class apache::mod::worker (
Original file line number Diff line number Diff line change 2
2
ServerLimit <%= @serverlimit %>
3
3
StartServers <%= @startservers %>
4
4
ThreadLimit <%= @threadlimit %>
5
- MaxClients <%= @maxclients %>
6
5
MinSpareThreads <%= @minsparethreads %>
7
6
MaxSpareThreads <%= @maxsparethreads %>
8
7
ThreadsPerChild <%= @threadsperchild %>
9
8
MaxRequestsPerChild <%= @maxrequestsperchild %>
10
9
ListenBacklog <%= @listenbacklog %>
11
10
<%- if @maxrequestworkers -%>
12
- MaxRequestWorkers <%= @maxrequestworkers %>
11
+ MaxRequestWorkers <%= @maxrequestworkers %>
12
+ <%- elsif @maxclients -%>
13
+ MaxClients <%= @maxclients %>
13
14
<%- end -%>
14
15
</ IfModule >
You can’t perform that action at this time.
0 commit comments