From 42ffbe1eb0bf00b4f9085e23a583b5952a4360cf Mon Sep 17 00:00:00 2001 From: EdwardDowling Date: Tue, 16 Jan 2024 16:18:07 +0000 Subject: [PATCH] Bump jira plugins timeout for reeconciling webhook and getIssue --- integrations/access/jira/app.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/access/jira/app.go b/integrations/access/jira/app.go index af57bb53b6891..689c93cf92d41 100644 --- a/integrations/access/jira/app.go +++ b/integrations/access/jira/app.go @@ -56,9 +56,9 @@ const ( modifyPluginDataBackoffMax = time.Second // webhookIssueAPIRetryInterval is the time the plugin will wait before grabbing, // the jira issue again if the webhook payload and jira API disagree on the issue status. - webhookIssueAPIRetryInterval = time.Second + webhookIssueAPIRetryInterval = 5 * time.Second // webhookIssueAPIRetryTimeout the timeout for retrying check that webhook payload matches issue API response. - webhookIssueAPIRetryTimeout = 5 * time.Second + webhookIssueAPIRetryTimeout = time.Minute ) var resolveReasonInlineRegex = regexp.MustCompile(`(?im)^ *(resolution|reason) *: *(.+)$`)