Skip to content

Commit

Permalink
set expiry to 30 min
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitenjain14 committed Jan 30, 2025
1 parent 4f08333 commit 60d4144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/disk-cache-backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const (
cacheDataFilePrefix = "part"

cacheMetaVersion = "1.0.0"
cacheExpiryDays = 90 * time.Hour * 24 // defaults to 90 days
cacheExpiryDays = time.Minute * 30 // defaults to 90 days
// SSECacheEncrypted is the metadata key indicating that the object
// is a cache entry encrypted with cache KMS master key in globalCacheKMS.
SSECacheEncrypted = "X-Minio-Internal-Encrypted-Cache"
Expand Down

0 comments on commit 60d4144

Please sign in to comment.