feat(slack-go/slack): increase timeout

This commit is contained in:
Kevin Franklin Kim 2025-04-01 15:59:08 +02:00
parent 2196fd5f3a
commit bfe8b8f03a
No known key found for this signature in database

View File

@ -145,7 +145,7 @@ func (s *Slack) SendETCDUpdateMessage(ctx context.Context, cluster string) error
}
func (s *Slack) Send(ctx context.Context, channel string, opts ...slack.MsgOption) error {
ctx, cancel := context.WithTimeout(ctx, time.Second)
ctx, cancel := context.WithTimeout(ctx, 5*time.Second)
defer cancel()
client, err := s.Client(ctx)
if err != nil {