diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-10 17:40:39 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-10 17:40:39 +0100 |
commit | b218ec15bdae237f5ec9f23821239c29e2d3757d (patch) | |
tree | 8c4ccd4c745c7590497e44cc3b16832b2a4657cb /src/libserver/cfg_file.h | |
parent | bc8a0fe1d5f55e6ec47200028a027d1843d6306d (diff) | |
download | rspamd-b218ec15bdae237f5ec9f23821239c29e2d3757d.tar.gz rspamd-b218ec15bdae237f5ec9f23821239c29e2d3757d.zip |
[Minor] Allow to tune GC related options
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r-- | src/libserver/cfg_file.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h index 8a1798b97..eccab1217 100644 --- a/src/libserver/cfg_file.h +++ b/src/libserver/cfg_file.h @@ -432,6 +432,9 @@ struct rspamd_config { guint words_decay; /**< limit for words for starting adaptive ignoring */ guint history_rows; /**< number of history rows stored */ guint max_sessions_cache; /**< maximum number of sessions cache elts */ + guint lua_gc_step; /**< lua gc step */ + guint lua_gc_pause; /**< lua gc pause */ + guint full_gc_iters; /**< iterations between full gc cycle */ GList *classify_headers; /**< list of headers using for statistics */ struct module_s **compiled_modules; /**< list of compiled C modules */ |