default inactive_channel.py timer to 4 weeks, not 2

This commit is contained in:
jesopo 2020-03-05 13:50:59 +00:00
parent def6eb0ac3
commit 1654fafd7e

View file

@ -1,11 +1,11 @@
import datetime import datetime
from src import ModuleManager, utils from src import ModuleManager, utils
PRUNE_TIMEDELTA = datetime.timedelta(weeks=2) PRUNE_TIMEDELTA = datetime.timedelta(weeks=4)
SETTING_NAME = "inactive-channels" SETTING_NAME = "inactive-channels"
SETTING = utils.BoolSetting(SETTING_NAME, SETTING = utils.BoolSetting(SETTING_NAME,
"Whether or not to leave inactive channels after 2 weeks") "Whether or not to leave inactive channels after 4 weeks")
MODE_SETTING_NAME = "inactive-channel-modes" MODE_SETTING_NAME = "inactive-channel-modes"
MODE_SETTING = utils.BoolSetting(MODE_SETTING_NAME, MODE_SETTING = utils.BoolSetting(MODE_SETTING_NAME,