From da3a41b51ab71a72d8291b479d02b5c3c42bada1 Mon Sep 17 00:00:00 2001 From: Azareal Date: Wed, 19 Feb 2020 14:58:45 +1000 Subject: [PATCH] reduce poll ip cutoff to 180 days --- common/site.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/site.go b/common/site.go index 76698744..4106e31e 100644 --- a/common/site.go +++ b/common/site.go @@ -138,6 +138,8 @@ type devConfig struct { NoFsnotify bool // Super Experimental! FullReqLog bool ExtraTmpls string // Experimental flag for adding compiled templates, we'll likely replace this with a better mechanism + + //QuicPort int // Experimental! } // configHolder is purely for having a big struct to unmarshal data into @@ -248,7 +250,7 @@ func ProcessConfig() (err error) { Config.LastIPCutoff = 12 } if Config.PollIPCutoff == 0 { - Config.PollIPCutoff = 365 // Default cutoff + Config.PollIPCutoff = 180 // Default cutoff } if Config.NoEmbed { DefaultParseSettings.NoEmbed = true