mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
use argon2 with sync.Pool for better memory management (#11019)
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user