Skip to content

Commit

Permalink
[Minor] Tell the exact task timeout value
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Jul 21, 2019
1 parent d62042e commit b5f639d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/worker.c
Expand Up @@ -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;
Expand Down

0 comments on commit b5f639d

Please sign in to comment.