mirror of
https://github.com/minio/minio.git
synced 2026-11-05 08:30:17 +00:00
Start using custom HTTP transport for webhook endpoints (#8630)
Use a more performant http transport for webhook endpoints with proper connection pooling, appropriate timeouts etc.
This commit is contained in:
1 parent
555969ee42
commit
c364f0af6c
4 files changed
+28
-39
No files matched your search
+1
-1
@@ -610,7 +610,7 @@ func (sys *NotificationSys) ListenBucketNotification(ctx context.Context, bucket
|
||||
|
||||
// AddNotificationTargetsFromConfig - adds notification targets from server config.
|
||||
func (sys *NotificationSys) AddNotificationTargetsFromConfig(cfg config.Config) error {
|
||||
targetList, err := notify.GetNotificationTargets(cfg, GlobalServiceDoneCh, globalRootCAs)
|
||||
targetList, err := notify.GetNotificationTargets(cfg, GlobalServiceDoneCh, NewCustomHTTPTransport())
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user