aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-24 16:26:12 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-24 16:26:12 +0000
commitf827a09afb7785c97010e7116dc63b61efde6a25 (patch)
treed65f85a4aab45110f230dd6f9911c1344eb19415 /src/controller.c
parent1c547c7425d9a3a63a3ee471051ad197a642ba46 (diff)
downloadrspamd-f827a09afb7785c97010e7116dc63b61efde6a25.tar.gz
rspamd-f827a09afb7785c97010e7116dc63b61efde6a25.zip
[Project] Add logic to break execution when processing symbols
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: