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:
Harshavardhana
2020-08-20 10:38:53 -07:00
committed by GitHub
parent 75d44b3bae
commit 59352d0ac2
5 changed files with 20 additions and 36 deletions

View File

@@ -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
}