Skip to content

Commit

Permalink
retry gitlab requests on IO::TimeoutError
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Dec 24, 2024
1 parent 93f0720 commit f96e07d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/gitlab/api.cr
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ module Gitlab
Crest::ServiceUnavailable,
Crest::BadGateway,
Socket::ConnectError,
IO::TimeoutError,
}) do
client[url].get(params: params)
end
Expand Down

0 comments on commit f96e07d

Please sign in to comment.