Skip to content

Commit fdb6e88

Browse files
authored
increase sleep (#2299)
1 parent b802271 commit fdb6e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/controllers/github_pull_request.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func handlePullRequestEvent(gh utils.GithubClientProvider, payload *github.PullR
9999
if action == "closed" {
100100
slog.Debug("Handling closed PR action", "prNumber", prNumber)
101101
// we sleep for 1 second to give github time to delete the branch
102-
time.Sleep(1 * time.Second)
102+
time.Sleep(3 * time.Second)
103103

104104
branchName, _, _, _, err := ghService.GetBranchName(prNumber)
105105
if err != nil {

0 commit comments

Comments
 (0)