Mercurial > dovecot > core-2.2
changeset 11642:59c952713e94 HEAD
master: Most service processes were being idle-killed much too quickly.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 28 Jun 2010 13:24:20 +0100 |
parents | 3de690764509 |
children | 9be162cc2c52 |
files | src/master/service-monitor.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);