Commit 15a51a05 authored by Orne Brocaar's avatar Orne Brocaar
Browse files

Increase Azure Service-Bus API timeout to 5 secs.

parent efb3284a
......@@ -139,7 +139,7 @@ func (i *Integration) publishHTTP(ctx context.Context, event string, application
return errors.Wrap(err, "create sas token error")
ctxCancel, cancel := context.WithTimeout(ctx, time.Second)
ctxCancel, cancel := context.WithTimeout(ctx, time.Second*5)
defer cancel()
req, err := http.NewRequestWithContext(ctxCancel, "POST", i.uri+"/messages", bytes.NewReader(b))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment