diff options
author | Peter Powell <petpow@saberuk.com> | 2019-06-25 15:03:03 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-06-25 16:52:26 +0100 |
commit | 02beded762ccc71c7f87ec8bb32b8d614960ab90 (patch) | |
tree | 9c943a8dfefb31421edc9b8a7994c36aa4722d68 /docs/conf | |
parent | 30a651d0927228e4c0ccd2ec053e3ae08a8ae950 (diff) |
Switch permchannels and xline_db from OnBackgroundTimer to a Timer.
Diffstat (limited to 'docs/conf')
-rw-r--r-- | docs/conf/modules.conf.example | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index dec54ec65..3bf1c2e99 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -1658,7 +1658,12 @@ # # If 'listmodes' is true then all list modes (+b, +I, +e, +g...) will be # saved. Defaults to false. -#<permchanneldb filename="permchannels.conf" listmodes="true"> +# +# 'saveperiod' determines how often to check if the database needs to be +# saved to disk. Defaults to every five seconds. +#<permchanneldb filename="permchannels.conf" +# listmodes="true" +# saveperiod="5s"> #<include file="permchannels.conf"> # # You may also create channels on startup by using the <permchannels> block. @@ -2316,8 +2321,9 @@ # be a lot less bans to apply - as most of them will already be there. #<module name="xline_db"> -# Specify the filename for the xline database here. -#<xlinedb filename="xline.db"> +# Specify the filename for the xline database and how often to check whether +# the database needs to be saved here. +#<xlinedb filename="xline.db" saveperiod="5s"> #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # ____ _ _____ _ _ ____ _ _ _ # |