diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-06-24 14:48:17 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-06-24 14:48:17 +0100 |
commit | 655afcbbe99a841275ba34534f9300a67fede996 (patch) | |
tree | b4b807aa0ce73c5c530a0ce8c7b72638acf0f417 /src/worker.c | |
parent | 2f13954449f33553178be3101229d59bdbdfd094 (diff) | |
download | rspamd-655afcbbe99a841275ba34534f9300a67fede996.tar.gz rspamd-655afcbbe99a841275ba34534f9300a67fede996.zip |
[Feature] Support metrics command in normal/proxy workers
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c index 150f813c9..5f8ba76c5 100644 --- a/src/worker.c +++ b/src/worker.c @@ -172,7 +172,7 @@ rspamd_worker_body_handler(struct rspamd_http_connection *conn, task->flags |= RSPAMD_TASK_FLAG_SKIP; } else { - if (task->cmd == CMD_PING) { + if (task->cmd == CMD_PING || task->cmd == CMD_METRICS) { task->flags |= RSPAMD_TASK_FLAG_SKIP; } else { |