diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-06 15:17:29 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-06 15:17:29 +0000 |
commit | 0846fb2f60229ae713d9253b80876d9cccf36879 (patch) | |
tree | 6a54c8b201217a8f400356877fe5aa113896538a /src/libserver/cfg_file.h | |
parent | e1b043f8bf7970278f55ae7ca1a106dee6c4fa98 (diff) | |
download | rspamd-0846fb2f60229ae713d9253b80876d9cccf36879.tar.gz rspamd-0846fb2f60229ae713d9253b80876d9cccf36879.zip |
[Rework] Unify task_timeout
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r-- | src/libserver/cfg_file.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h index c507bf3a9..edc1258dc 100644 --- a/src/libserver/cfg_file.h +++ b/src/libserver/cfg_file.h @@ -318,7 +318,6 @@ struct rspamd_config { gboolean disable_lua_squeeze; /**< Disable lua rules squeezing */ gboolean own_lua_state; /**< True if we have created lua_state internally */ - gsize max_diff; /**< maximum diff size for text parts */ gsize max_cores_size; /**< maximum size occupied by rspamd core files */ gsize max_cores_count; /**< maximum number of core files */ gchar *cores_dir; /**< directory for core files */ @@ -326,6 +325,7 @@ struct rspamd_config { gsize max_pic_size; /**< maximum size for a picture to process */ gsize images_cache_size; /**< size of LRU cache for DCT data from images */ gint default_max_shots; /**< default maximum count of symbols hits permitted (-1 for unlimited) */ + gdouble task_timeout; /**< maximum message processing time */ enum rspamd_log_type log_type; /**< log type */ gint log_facility; /**< log facility in case of syslog */ @@ -336,7 +336,6 @@ struct rspamd_config { guint32 log_buf_size; /**< length of log buffer */ const ucl_object_t *debug_ip_map; /**< turn on debugging for specified ip addresses */ gboolean log_urls; /**< whether we should log URLs */ - GList *debug_symbols; /**< symbols to debug */ GHashTable *debug_modules; /**< logging modules to debug */ struct rspamd_cryptobox_pubkey *log_encryption_key; /**< encryption key for logs */ guint log_flags; /**< logging flags */ |