From 117e795052fabd35105e250dad123548929ad4fa Mon Sep 17 00:00:00 2001 From: Kevin Franklin Kim Date: Tue, 8 Apr 2025 11:15:28 +0200 Subject: [PATCH] fix(slack-go/slack): increase timeout --- slack-go/slack/slack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slack-go/slack/slack.go b/slack-go/slack/slack.go index f3f8c5b..4a96384 100644 --- a/slack-go/slack/slack.go +++ b/slack-go/slack/slack.go @@ -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{