aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-07-20 08:18:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-07-20 08:18:10 +0100
commitb2e00622655fc48d0f3d2db9bc784441c994602b (patch)
tree8550c34a42cb904a2a9258086dac54cfe6cd587c /src/libserver/cfg_file.h
parent5d37e69a60b836818823a6c43cb4269d10d82094 (diff)
downloadrspamd-b2e00622655fc48d0f3d2db9bc784441c994602b.tar.gz
rspamd-b2e00622655fc48d0f3d2db9bc784441c994602b.zip
[Feature] Allow to configure monitored
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r--src/libserver/cfg_file.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h
index 44b8dd85a..45202f5ab 100644
--- a/src/libserver/cfg_file.h
+++ b/src/libserver/cfg_file.h
@@ -377,7 +377,10 @@ struct rspamd_config {
GList *maps; /**< maps active */
gdouble map_timeout; /**< maps watch timeout */
- gdouble map_file_watch_multiplier; /**< multiplier for watch timeout when maps are files */
+ gdouble map_file_watch_multiplier; /**< multiplier for watch timeout when maps are files */
+
+ gdouble monitored_interval; /**< interval between monitored checks */
+ gboolean disable_monitored; /**< disable monitoring completely */
struct symbols_cache *cache; /**< symbols cache object */
gchar *cache_filename; /**< filename of cache file */