diff --git a/common/lib/dependabot/registry_client.rb b/common/lib/dependabot/registry_client.rb index 34df295e82a..488683e7671 100644 --- a/common/lib/dependabot/registry_client.rb +++ b/common/lib/dependabot/registry_client.rb @@ -30,7 +30,9 @@ def self.get(url:, headers: {}, options: {}) Excon.get( url, idempotent: true, - **SharedHelpers.excon_defaults({ headers: headers }.merge(options)) + **SharedHelpers.excon_defaults({ headers: headers }.merge(options)), + retry_limit: 3, + retry_interval: 5 ) rescue Excon::Error::Timeout => e cache_error(url, e)