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:
@ -133,7 +133,7 @@ func makeEnclosure(feed *model.Feed, id string, lengthInBytes int64) (string, it
|
|||||||
|
|
||||||
func (s *Service) BuildFeed(hashID string) ([]byte, error) {
|
func (s *Service) BuildFeed(hashID string) ([]byte, error) {
|
||||||
const (
|
const (
|
||||||
cacheTTL = 15 * time.Minute
|
cacheTTL = 30 * time.Minute
|
||||||
)
|
)
|
||||||
|
|
||||||
cached, err := s.cache.Get(hashID)
|
cached, err := s.cache.Get(hashID)
|
||||||
|
Reference in New Issue
Block a user