]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
master: Most service processes were being idle-killed much too quickly.
authorTimo Sirainen <tss@iki.fi>
Mon, 28 Jun 2010 12:24:20 +0000 (13:24 +0100)
committerTimo Sirainen <tss@iki.fi>
Mon, 28 Jun 2010 12:24:20 +0000 (13:24 +0100)
--HG--
branch : HEAD

src/master/service-monitor.c

index 51649f2c28048ce89f6aec94a92341d44d6dc7f7..71dc55b458bf4c2bec1f76c6066b020daacece49 100644 (file)
@@ -103,7 +103,7 @@ static void service_status_less(struct service_process *process,
                           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);