Refresh in-memory bucket policy cache every 5 minutes (#6007)

This commit is contained in:
Krishna Srinivas
2018-06-06 12:52:56 -07:00
committed by Dee Koder
parent 6a53dd1701
commit 113570b514
3 changed files with 72 additions and 26 deletions
+1
View File
@@ -272,6 +272,7 @@ func initTestXLObjLayer() (ObjectLayer, []string, error) {
return nil, nil, err
}
globalPolicySys = NewPolicySys()
objLayer, err := newXLSets(endpoints, format, 1, 16)
if err != nil {
return nil, nil, err