summaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controller.c b/src/controller.c
index d36431702..adbc2b848 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -2126,6 +2126,7 @@ rspamd_controller_handle_scan (struct rspamd_http_connection_entry *conn_ent,
ev_timer_init (&task->timeout_ev, rspamd_task_timeout,
ctx->task_timeout, ctx->task_timeout);
ev_timer_start (task->event_loop, &task->timeout_ev);
+ ev_set_priority (&task->timeout_ev, EV_MAXPRI);
}
end: