mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
load all blocking metadata in background (#10298)
most of this metadata already has fallbacks and there is no good reason to load them in blocking fashion
This commit is contained in:
@@ -199,8 +199,8 @@ func (sys *BucketTargetSys) Init(ctx context.Context, buckets []BucketInfo, objA
|
||||
return nil
|
||||
}
|
||||
|
||||
// Load bucket targets once during boot.
|
||||
sys.load(ctx, buckets, objAPI)
|
||||
// Load bucket targets once during boot in background.
|
||||
go sys.load(ctx, buckets, objAPI)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user