From: Stephen Gran Date: Sun, 13 May 2012 10:15:07 +0000 (+0100) Subject: make bigger boxes not delay so much X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=6fbf6e7c2561f65cb32fb50404291c74c222331a;p=mirror%2Fdsa-puppet.git make bigger boxes not delay so much Signed-off-by: Stephen Gran --- diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index d508eb06e..628e0dca0 100644 --- 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 = 10 -queue_only_load = 5 +deliver_queue_load_max = <%= scope.lookupvar('::processorcount') * 5 %> +queue_only_load = <%= scope.lookupvar('::processorcount') * 4 %> <%- end -%> queue_list_requires_admin = false