From 87b07015412ea74434f26e9a0a57c9d1037bd75c Mon Sep 17 00:00:00 2001 From: Philippe Ballandras Date: Tue, 14 Mar 2023 16:11:14 +0100 Subject: [PATCH] add more retry (#3) --- sentry/issue_alerts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry/issue_alerts.go b/sentry/issue_alerts.go index 33e59db..2868e72 100644 --- a/sentry/issue_alerts.go +++ b/sentry/issue_alerts.go @@ -128,7 +128,7 @@ func (s *IssueAlertsService) getIssueAlertFromTaskDetail(ctx context.Context, or } var resp *Response - for i := 0; i < 5; i++ { + for i := 0; i < 20; i++ { // TODO: Read poll interval from context time.Sleep(5 * time.Second)