mirror of
https://github.com/pgsty/minio.git
synced 2026-07-24 06:26:17 +03:00
speed-up startup time, do not block on ListBuckets() (#14240)
Bonus fixes #13816
This commit is contained in:
+1
-1
@@ -674,7 +674,7 @@ func (sys *NotificationSys) set(bucket BucketInfo, meta BucketMetadata) {
|
||||
}
|
||||
|
||||
// Init - initializes notification system from notification.xml and listenxl.meta of all buckets.
|
||||
func (sys *NotificationSys) Init(ctx context.Context, buckets []BucketInfo, objAPI ObjectLayer) error {
|
||||
func (sys *NotificationSys) Init(ctx context.Context, objAPI ObjectLayer) error {
|
||||
if objAPI == nil {
|
||||
return errServerNotInitialized
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user