mirror of
https://github.com/foomo/posh-providers.git
synced 2025-10-16 12:35:41 +00:00
fix(slack-go/slack): increase timeout
This commit is contained in:
parent
a1e5b49714
commit
117e795052
@ -165,7 +165,7 @@ func (s *Slack) SendWebhook(ctx context.Context, webhook string, blocks []slack.
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
ctx, cancel := context.WithTimeout(ctx, time.Second)
|
||||
ctx, cancel := context.WithTimeout(ctx, 5*time.Second)
|
||||
defer cancel()
|
||||
|
||||
if err := slack.PostWebhookContext(ctx, url, &slack.WebhookMessage{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user