Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.

Commit 15a51a0

Browse files
committed
Increase Azure Service-Bus API timeout to 5 secs.
1 parent efb3284 commit 15a51a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/integration/azureservicebus/azure_service_bus.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ func (i *Integration) publishHTTP(ctx context.Context, event string, application
139139
return errors.Wrap(err, "create sas token error")
140140
}
141141

142-
ctxCancel, cancel := context.WithTimeout(ctx, time.Second)
142+
ctxCancel, cancel := context.WithTimeout(ctx, time.Second*5)
143143
defer cancel()
144144

145145
req, err := http.NewRequestWithContext(ctxCancel, "POST", i.uri+"/messages", bytes.NewReader(b))

0 commit comments

Comments
 (0)