From: Vsevolod Stakhov Date: Sun, 21 Jul 2019 08:38:30 +0000 (+0100) Subject: [Minor] Tell the exact task timeout value X-Git-Tag: 2.0~529 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5f639d991c4cbeca0328578bf41ca957a03e596;p=thirdparty%2Frspamd.git [Minor] Tell the exact task timeout value --- diff --git a/src/worker.c b/src/worker.c index 324f211a67..3a24f6c047 100644 --- a/src/worker.c +++ b/src/worker.c @@ -141,7 +141,8 @@ rspamd_task_timeout (EV_P_ ev_timer *w, int revents) struct rspamd_task *task = (struct rspamd_task *)w->data; if (!(task->processed_stages & RSPAMD_TASK_STAGE_FILTERS)) { - msg_info_task ("processing of task timed out, forced processing"); + msg_info_task ("processing of task time out: %.1f second spent; forced processing", + ev_now (task->event_loop) - task->task_timestamp); if (task->cfg->soft_reject_on_timeout) { struct rspamd_action *action, *soft_reject;