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:
988ed8b
)
sigh, this undefined behavior stinks
author
Stephen Gran
<steve@lobefin.net>
Sun, 24 Jun 2012 09:38:52 +0000
(10:38 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Sun, 24 Jun 2012 09:38:52 +0000
(10:38 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/templates/eximconf.erb
patch
|
blob
|
history
diff --git
a/modules/exim/templates/eximconf.erb
b/modules/exim/templates/eximconf.erb
index
d43cb86
..
1be6b7e
100644
(file)
--- a/
modules/exim/templates/eximconf.erb
+++ b/
modules/exim/templates/eximconf.erb
@@
-194,8
+194,13
@@
queue_only_load = 35
smtp_load_reserve = 20
<%- else -%>
queue_run_max = 5
+<%- if scope.lookupvar('::processorcount').to_s != 'undefined' -%>
deliver_queue_load_max = <%= [scope.lookupvar('::processorcount').to_i,2].max * 5 %>
queue_only_load = <%= [scope.lookupvar('::processorcount').to_i,2].max * 4 %>
+<%- else -%>
+deliver_queue_load_max = 10
+queue_only_load = 8
+<%- end -%>
<%- end -%>
queue_list_requires_admin = false