diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-21 09:38:30 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-21 09:38:30 +0100 |
commit | b5f639d991c4cbeca0328578bf41ca957a03e596 (patch) | |
tree | 8792a84593fd3c9adf4aab5354dbc85832710490 /src/worker.c | |
parent | d62042e35bedd4798f6b94ef1adb83f51f9a9bb9 (diff) | |
download | rspamd-b5f639d991c4cbeca0328578bf41ca957a03e596.tar.gz rspamd-b5f639d991c4cbeca0328578bf41ca957a03e596.zip |
[Minor] Tell the exact task timeout value
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c index 324f211a6..3a24f6c04 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; |