1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Increase cache TTL

This commit is contained in:
Maksym Pavlenko
2019-04-06 12:57:25 -07:00
parent 4b3dba4218
commit 20bf7c7e53

View File

@ -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)