diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-12 12:09:09 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-12 12:09:09 +0000 |
commit | 4a6835185d4e154d7b2ac026a05fbd18f1c05669 (patch) | |
tree | 57c1d75d93bb690fa4ee88fd506885c766a20212 | |
parent | 3c4d37339225ea645f0385aeee1b86238ec41f7c (diff) | |
download | rspamd-4a6835185d4e154d7b2ac026a05fbd18f1c05669.tar.gz rspamd-4a6835185d4e154d7b2ac026a05fbd18f1c05669.zip |
[Minor] Improve logging
-rw-r--r-- | src/rspamd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd.c b/src/rspamd.c index 4099e5003..b7c3bd910 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -950,7 +950,7 @@ rspamd_term_handler (struct ev_loop *loop, ev_signal *w, int revents) shutdown_ts = MAX (SOFT_SHUTDOWN_TIME, rspamd_main->cfg->task_timeout * 2.0); msg_info_main ("catch termination signal, waiting for children for %.2f seconds", - shutdown_ts); + valgrind_mode ? shutdown_ts * 10 : shutdown_ts); /* Stop srv events to avoid false notifications */ g_hash_table_foreach (rspamd_main->workers, stop_srv_ev, rspamd_main); rspamd_pass_signal (rspamd_main->workers, SIGTERM); |