projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3162ed5
)
coalesce()
author
Peter Palfrader
<peter@palfrader.org>
Mon, 14 May 2012 21:34:13 +0000
(23:34 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Mon, 14 May 2012 21:34:13 +0000
(23:34 +0200)
modules/exim/templates/eximconf.erb
patch
|
blob
|
history
diff --git
a/modules/exim/templates/eximconf.erb
b/modules/exim/templates/eximconf.erb
index
8541a7f
..
82f4147
100644
(file)
--- a/
modules/exim/templates/eximconf.erb
+++ b/
modules/exim/templates/eximconf.erb
@@
-194,8
+194,8
@@
queue_only_load = 35
smtp_load_reserve = 20
<%- else -%>
queue_run_max = 5
-deliver_queue_load_max = <%=
scope.lookupvar('::processorcount').to_i
* 5 %>
-queue_only_load = <%=
scope.lookupvar('::processorcount').to_i
* 4 %>
+deliver_queue_load_max = <%=
[scope.lookupvar('::processorcount').to_i,2].max
* 5 %>
+queue_only_load = <%=
[scope.lookupvar('::processorcount').to_i,2].max
* 4 %>
<%- end -%>
queue_list_requires_admin = false