use argon2 with sync.Pool for better memory management (#11019)

This commit is contained in:
Harshavardhana
2020-12-03 19:23:19 -08:00
committed by GitHub
parent de9b64834e
commit e083471ec4
16 changed files with 1174 additions and 22 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ func runDataCrawler(ctx context.Context, objAPI ObjectLayer) {
select {
case <-ctx.Done():
return
case <-time.NewTimer(dataCrawlStartDelay).C:
case <-time.After(dataCrawlStartDelay):
// Wait before starting next cycle and wait on startup.
results := make(chan DataUsageInfo, 1)
go storeDataUsageInBackend(ctx, objAPI, results)