Reduce default PostIPCutoff from 180 to 120 days.

Reduce default LogPruneCutoff from 365 to 180 days.
This commit is contained in:
Azareal 2019-12-19 17:09:56 +10:00
parent 0dede6a329
commit d22021b022
1 changed files with 2 additions and 2 deletions

View File

@ -217,10 +217,10 @@ func ProcessConfig() (err error) {
Site.MaxRequestSize = Config.MaxRequestSize Site.MaxRequestSize = Config.MaxRequestSize
if Config.PostIPCutoff == 0 { if Config.PostIPCutoff == 0 {
Config.PostIPCutoff = 180 // Default cutoff Config.PostIPCutoff = 120 // Default cutoff
} }
if Config.LogPruneCutoff == 0 { if Config.LogPruneCutoff == 0 {
Config.LogPruneCutoff = 365 // Default cutoff Config.LogPruneCutoff = 180 // Default cutoff
} }
if Config.NoEmbed { if Config.NoEmbed {
DefaultParseSettings.NoEmbed = true DefaultParseSettings.NoEmbed = true