summaryrefslogtreecommitdiffstats
path: root/src/libutil/map_private.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-07-07 18:54:50 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-07-07 18:54:50 +0100
commit8c673af47019c362d94910e9e69b46d098b9cceb (patch)
tree0b55ca70fd1e31b538f4ead8b94ea65e2b18b88b /src/libutil/map_private.h
parent4b417747c442cd987a3036176767654a643a7e87 (diff)
downloadrspamd-8c673af47019c362d94910e9e69b46d098b9cceb.tar.gz
rspamd-8c673af47019c362d94910e9e69b46d098b9cceb.zip
[Feature] Improve maps checking frequency
Diffstat (limited to 'src/libutil/map_private.h')
-rw-r--r--src/libutil/map_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/map_private.h b/src/libutil/map_private.h
index fc2d8e279..beb862cc2 100644
--- a/src/libutil/map_private.h
+++ b/src/libutil/map_private.h
@@ -81,6 +81,8 @@ struct rspamd_map {
gchar *description;
gchar *name;
guint32 id;
+ /* Should we check HTTP or just load cached data */
+ gboolean active_http;
struct timeval tv;
gdouble poll_timeout;
/* Shared lock for temporary disabling of map reading (e.g. when this map is written by UI) */