aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-09-10 15:22:04 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-09-10 15:22:04 +0100
commit00d91c955e35021f1252eaffc23c491a2dd86123 (patch)
tree0543beb78300fa1f91069a40d08eb8e4302e918e /src/libserver/task.h
parentea79cda0ba71ccbaefc4fdd90e3a15714487124a (diff)
downloadrspamd-00d91c955e35021f1252eaffc23c491a2dd86123.tar.gz
rspamd-00d91c955e35021f1252eaffc23c491a2dd86123.zip
[Rework] Remove empty prefilters feature - we are not prepared...
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r--src/libserver/task.h32
1 files changed, 15 insertions, 17 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h
index aa6d01a2e..0e23ea55d 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -42,27 +42,25 @@ enum rspamd_task_stage {
RSPAMD_TASK_STAGE_CONNECT = (1u << 0u),
RSPAMD_TASK_STAGE_ENVELOPE = (1u << 1u),
RSPAMD_TASK_STAGE_READ_MESSAGE = (1u << 2u),
- RSPAMD_TASK_STAGE_PRE_FILTERS_EMPTY = (1u << 3u),
- RSPAMD_TASK_STAGE_PROCESS_MESSAGE = (1u << 4u),
- RSPAMD_TASK_STAGE_PRE_FILTERS = (1u << 5u),
- RSPAMD_TASK_STAGE_FILTERS = (1u << 6u),
- RSPAMD_TASK_STAGE_CLASSIFIERS_PRE = (1u << 7u),
- RSPAMD_TASK_STAGE_CLASSIFIERS = (1u << 8u),
- RSPAMD_TASK_STAGE_CLASSIFIERS_POST = (1u << 9u),
- RSPAMD_TASK_STAGE_COMPOSITES = (1u << 10u),
- RSPAMD_TASK_STAGE_POST_FILTERS = (1u << 11u),
- RSPAMD_TASK_STAGE_LEARN_PRE = (1u << 12u),
- RSPAMD_TASK_STAGE_LEARN = (1u << 13u),
- RSPAMD_TASK_STAGE_LEARN_POST = (1u << 14u),
- RSPAMD_TASK_STAGE_COMPOSITES_POST = (1u << 15u),
- RSPAMD_TASK_STAGE_IDEMPOTENT = (1u << 16u),
- RSPAMD_TASK_STAGE_DONE = (1u << 17u),
- RSPAMD_TASK_STAGE_REPLIED = (1u << 18u)
+ RSPAMD_TASK_STAGE_PROCESS_MESSAGE = (1u << 3u),
+ RSPAMD_TASK_STAGE_PRE_FILTERS = (1u << 4u),
+ RSPAMD_TASK_STAGE_FILTERS = (1u << 5u),
+ RSPAMD_TASK_STAGE_CLASSIFIERS_PRE = (1u << 6u),
+ RSPAMD_TASK_STAGE_CLASSIFIERS = (1u << 7u),
+ RSPAMD_TASK_STAGE_CLASSIFIERS_POST = (1u << 8u),
+ RSPAMD_TASK_STAGE_COMPOSITES = (1u << 9u),
+ RSPAMD_TASK_STAGE_POST_FILTERS = (1u << 10u),
+ RSPAMD_TASK_STAGE_LEARN_PRE = (1u << 11u),
+ RSPAMD_TASK_STAGE_LEARN = (1u << 12u),
+ RSPAMD_TASK_STAGE_LEARN_POST = (1u << 13u),
+ RSPAMD_TASK_STAGE_COMPOSITES_POST = (1u << 14u),
+ RSPAMD_TASK_STAGE_IDEMPOTENT = (1u << 15u),
+ RSPAMD_TASK_STAGE_DONE = (1u << 16u),
+ RSPAMD_TASK_STAGE_REPLIED = (1u << 17u)
};
#define RSPAMD_TASK_PROCESS_ALL (RSPAMD_TASK_STAGE_CONNECT | \
RSPAMD_TASK_STAGE_ENVELOPE | \
- RSPAMD_TASK_STAGE_PRE_FILTERS_EMPTY | \
RSPAMD_TASK_STAGE_READ_MESSAGE | \
RSPAMD_TASK_STAGE_PRE_FILTERS | \
RSPAMD_TASK_STAGE_PROCESS_MESSAGE | \