mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Refresh tier config periodically (#19049)
- Increase the parity for tier-config.bin object - Refresh globalTierConfigMgr cached value once every 15 mins
This commit is contained in:
committed by
GitHub
parent
7e4a6b4bcd
commit
7405760f44
@@ -140,6 +140,7 @@ func (api adminAPIHandlers) ListTierHandler(w http.ResponseWriter, r *http.Reque
|
||||
return
|
||||
}
|
||||
|
||||
w.Header().Set(tierCfgRefreshAtHdr, globalTierConfigMgr.refreshedAt().String())
|
||||
writeSuccessResponseJSON(w, data)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user