diff --git a/lib/modules/platform/azure/azure-got-wrapper.ts b/lib/modules/platform/azure/azure-got-wrapper.ts index d9628cba856dae..4dbfc72dfe5e41 100644 --- a/lib/modules/platform/azure/azure-got-wrapper.ts +++ b/lib/modules/platform/azure/azure-got-wrapper.ts @@ -24,7 +24,10 @@ export function azureObj(): azure.WebApi { throw new Error(`No config found for azure`); } const authHandler = getAuthenticationHandler(config); - return new azure.WebApi(endpoint, authHandler); + return new azure.WebApi(endpoint, authHandler, { + allowRetries: true, + maxRetries: 2, + }); } export function gitApi(): Promise {