We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dc0f24a + 4de7c10 commit 212bd7fCopy full SHA for 212bd7f
cmd/server/main.go
@@ -69,6 +69,7 @@ var (
69
70
maxRefresh = flag.Duration("max-refresh", 60*time.Minute, "Maximum time between collection runs")
71
minRefresh = flag.Duration("min-refresh", 60*time.Second, "Minimum time between collection runs")
72
+ warnAge = flag.Duration("warn-age", 90*time.Minute, "Warn when the results are older than this")
73
)
74
75
func main() {
@@ -174,7 +175,7 @@ func main() {
174
175
BaseDirectory: findPath(*siteDir),
176
Updater: u,
177
Party: tp,
- WarnAge: *maxRefresh * 4,
178
+ WarnAge: *warnAge,
179
Name: sn,
180
})
181
0 commit comments