aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-10 12:27:47 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-10 12:28:08 +0000
commite80ac859a73deaf75da180e2446d62134b7f36ab (patch)
treecb1e8e1ff3cd54cbf23b123188c982d8e2cc5a29 /src/libserver/cfg_file.h
parenta32d867f9f22bd5da802e1d808d67a1b99aac075 (diff)
downloadrspamd-e80ac859a73deaf75da180e2446d62134b7f36ab.tar.gz
rspamd-e80ac859a73deaf75da180e2446d62134b7f36ab.zip
[Minor] Allow to configure images DCT cache size
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r--src/libserver/cfg_file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h
index 2ce4bcb28..88b8cea4c 100644
--- a/src/libserver/cfg_file.h
+++ b/src/libserver/cfg_file.h
@@ -311,6 +311,7 @@ struct rspamd_config {
gchar *cores_dir; /**< directory for core files */
gsize max_message; /**< maximum size for messages */
gsize max_pic_size; /**< maximum size for a picture to process */
+ gsize images_cache_size; /**< size of LRU cache for DCT data from images */
enum rspamd_log_type log_type; /**< log type */
gint log_facility; /**< log facility in case of syslog */