mirror of
https://github.com/minio/minio.git
synced 2026-11-05 00:29:17 +00:00
Support ListenBucketNotificationV2 streaming (#8622)
This commit is contained in:
1 parent
3211cb5df6
commit
f5abe4e1f1
7 files changed
+248
No files matched your search
@@ -1297,6 +1297,11 @@ func sendEvent(args eventArgs) {
|
||||
crypto.RemoveSensitiveEntries(args.Object.UserDefined)
|
||||
crypto.RemoveInternalEntries(args.Object.UserDefined)
|
||||
|
||||
if globalHTTPListen.HasSubscribers() {
|
||||
globalHTTPListen.Publish(args.ToEvent())
|
||||
return
|
||||
}
|
||||
|
||||
// globalNotificationSys is not initialized in gateway mode.
|
||||
if globalNotificationSys == nil {
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user