From 20bf7c7e53754d5ad5e4595c4693062c50f70f34 Mon Sep 17 00:00:00 2001 From: Maksym Pavlenko Date: Sat, 6 Apr 2019 12:57:25 -0700 Subject: [PATCH] Increase cache TTL --- pkg/feeds/feeds.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/feeds/feeds.go b/pkg/feeds/feeds.go index db2e9fe..f868c56 100644 --- a/pkg/feeds/feeds.go +++ b/pkg/feeds/feeds.go @@ -133,7 +133,7 @@ func makeEnclosure(feed *model.Feed, id string, lengthInBytes int64) (string, it func (s *Service) BuildFeed(hashID string) ([]byte, error) { const ( - cacheTTL = 15 * time.Minute + cacheTTL = 30 * time.Minute ) cached, err := s.cache.Get(hashID)