From b903860af99bbe8da83d73063b9ec541dca455f4 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 12 Oct 2016 10:57:25 +0100 Subject: [PATCH] Bump min to 5min to help not spam feeds with no cache control --- src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go b/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go index 92661e7..d779ace 100644 --- a/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go +++ b/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go @@ -18,7 +18,7 @@ import ( var cachingClient *http.Client -const minPollingIntervalSeconds = 60 // 1 min (News feeds can be genuinely spammy) +const minPollingIntervalSeconds = 60 * 5 // 5 min (News feeds can be genuinely spammy) type rssBotService struct { types.DefaultService