diff options
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r-- | src/libserver/task.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h index 28e0dc070..573f6d9b7 100644 --- a/src/libserver/task.h +++ b/src/libserver/task.h @@ -42,21 +42,22 @@ 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 = (1u << 3u), + RSPAMD_TASK_STAGE_PRE_FILTERS_EMPTY = (1u << 3u), RSPAMD_TASK_STAGE_PROCESS_MESSAGE = (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) + 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) }; #define RSPAMD_TASK_PROCESS_ALL (RSPAMD_TASK_STAGE_CONNECT | \ |