diff --git a/engine/cdn/cdn_item.go b/engine/cdn/cdn_item.go index d446bf0043..6c19e4b02d 100644 --- a/engine/cdn/cdn_item.go +++ b/engine/cdn/cdn_item.go @@ -229,7 +229,7 @@ func (s *Service) getItemFileValue(ctx context.Context, t sdk.CDNItemType, apiRe if !ignoreBuffer { readerKey := cache.Key(storage.FileBufferKey, s.Units.FileBuffer().ID(), "reader", itemUnit.ID, sdk.UUID()) - if err := s.Cache.SetWithTTL(readerKey, true, 30); err != nil { + if err := s.Cache.SetWithTTL(readerKey, true, 300); err != nil { log.Error(ctx, "unable to set reader on file buffer: %v", err) ignoreBuffer = true }