diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-05-18 12:56:01 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-05-18 12:57:16 +0100 |
commit | 95215c625aa3d720165780f836d01227d1d3fbc8 (patch) | |
tree | 0f4264f68be690d8abe6d056598c1b4230b3d658 /src/worker.c | |
parent | c13a45b71d7edcb692c2f1269a517bf26d471b3c (diff) | |
download | rspamd-95215c625aa3d720165780f836d01227d1d3fbc8.tar.gz rspamd-95215c625aa3d720165780f836d01227d1d3fbc8.zip |
[Fix] Allow autolearn for the controller worker
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 2 |
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, |