From f96e07de0486ef2fcb6f7ea5bbc3ebbfcf28451e Mon Sep 17 00:00:00 2001 From: Anton Maminov Date: Tue, 24 Dec 2024 22:55:22 +0200 Subject: [PATCH] retry gitlab requests on IO::TimeoutError --- src/lib/gitlab/api.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/gitlab/api.cr b/src/lib/gitlab/api.cr index 7a4608f..f99d525 100644 --- a/src/lib/gitlab/api.cr +++ b/src/lib/gitlab/api.cr @@ -52,6 +52,7 @@ module Gitlab Crest::ServiceUnavailable, Crest::BadGateway, Socket::ConnectError, + IO::TimeoutError, }) do client[url].get(params: params) end