aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/worker.c b/src/worker.c
index 9bf27b260..150f813c9 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -152,8 +152,6 @@ rspamd_worker_body_handler(struct rspamd_http_connection *conn,
task->http_conn = session->http_conn;
task->resolver = ctx->resolver;
- /* TODO: allow to disable autolearn in protocol */
- task->flags |= RSPAMD_TASK_FLAG_LEARN_AUTO;
session->worker->nconns++;
rspamd_mempool_add_destructor(task->task_pool,