mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 06:00:24 +03:00
Refresh in-memory bucket policy cache every 5 minutes (#6007)
This commit is contained in:
committed by
Dee Koder
parent
6a53dd1701
commit
113570b514
@@ -72,6 +72,8 @@ const (
|
||||
globalMultipartExpiry = time.Hour * 24 * 14 // 2 weeks.
|
||||
// Cleanup interval when the stale multipart cleanup is initiated.
|
||||
globalMultipartCleanupInterval = time.Hour * 24 // 24 hrs.
|
||||
// Refresh interval to update in-memory bucket policy cache.
|
||||
globalRefreshBucketPolicyInterval = 5 * time.Minute
|
||||
|
||||
// Limit of location constraint XML for unauthenticted PUT bucket operations.
|
||||
maxLocationConstraintSize = 3 * humanize.MiByte
|
||||
|
||||
Reference in New Issue
Block a user