diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-07 13:40:37 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-07 16:15:28 +0100 |
commit | 8e1c9b1e7c1144abff211c93736164f9311d929f (patch) | |
tree | 7b53aa234198be60db74696091aa099f7329b2ef /src/libserver/task.h | |
parent | a87ecbcc1c1d67698e2ae10d2455bc458321e4cb (diff) | |
download | rspamd-8e1c9b1e7c1144abff211c93736164f9311d929f.tar.gz rspamd-8e1c9b1e7c1144abff211c93736164f9311d929f.zip |
[Project] Store settings id directly
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r-- | src/libserver/task.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h index 763866987..079e388df 100644 --- a/src/libserver/task.h +++ b/src/libserver/task.h @@ -136,7 +136,6 @@ enum rspamd_newlines_type; */ struct rspamd_task { struct rspamd_worker *worker; /**< pointer to worker object */ - guint processed_stages; /**< bits of stages that are processed */ enum rspamd_command cmd; /**< command */ gint sock; /**< socket descriptor */ guint32 flags; /**< Bit flags */ @@ -206,6 +205,8 @@ struct rspamd_task { gpointer checkpoint; /**< Opaque checkpoint data */ ucl_object_t *settings; /**< Settings applied to task */ + guint32 processed_stages; /**< bits of stages that are processed */ + guint32 settings_id; /**< hashed settings id */ const gchar *classifier; /**< Classifier to learn (if needed) */ struct rspamd_lang_detector *lang_det; /**< Languages detector */ |