dovecot-2.0: master: Most service processes were being idle-kill...

dovecot at dovecot.org dovecot at dovecot.org
Mon Jun 28 15:24:22 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/59c952713e94
changeset: 11642:59c952713e94
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jun 28 13:24:20 2010 +0100
description:
master: Most service processes were being idle-killed much too quickly.

diffstat:

 src/master/service-monitor.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 3de690764509 -r 59c952713e94 src/master/service-monitor.c
--- a/src/master/service-monitor.c	Mon Jun 28 13:19:24 2010 +0100
+++ b/src/master/service-monitor.c	Mon Jun 28 13:24:20 2010 +0100
@@ -103,7 +103,7 @@
 			   add a bit of randomness so that we don't send the
 			   signal to all of them at once */
 			process->to_idle =
-				timeout_add((service->set->idle_kill * 1000) +
+				timeout_add((service->idle_kill * 1000) +
 					    (rand() % 100)*10,
 					    service_process_kill_idle,
 					    process);


More information about the dovecot-cvs mailing list