diff --git a/clients/api-proxy/association/index.ts b/clients/api-proxy/association/index.ts index 4a7e5a9b5..3e92ee894 100644 --- a/clients/api-proxy/association/index.ts +++ b/clients/api-proxy/association/index.ts @@ -20,7 +20,7 @@ const clientAssociation = async ( ) => { const response = await clientAPIProxy( routes.proxy.association + rnaOrSiren, - { timeout: constants.timeout.L, useCache } + { timeout: constants.timeout.XL, useCache } ); if (response.identite && Object.keys(response.identite).length === 1) { diff --git a/clients/api-proxy/eori/index.ts b/clients/api-proxy/eori/index.ts index 85f470f4b..ba0e88565 100644 --- a/clients/api-proxy/eori/index.ts +++ b/clients/api-proxy/eori/index.ts @@ -11,7 +11,7 @@ import { clientAPIProxy } from '../client'; */ const clientEORI = async (siret: Siret): Promise => { return await clientAPIProxy(routes.proxy.eori + siret, { - timeout: constants.timeout.XL, + timeout: constants.timeout.XXL, useCache: true, }); }; diff --git a/clients/api-proxy/tva/index.ts b/clients/api-proxy/tva/index.ts index 7daedb0a6..d56fe9d57 100644 --- a/clients/api-proxy/tva/index.ts +++ b/clients/api-proxy/tva/index.ts @@ -51,7 +51,7 @@ const clientTVA = async ( const data = await clientAPIProxy(url, { useCache, - timeout: constants.timeout.XL, + timeout: constants.timeout.XXL, }); if (data.userError && ['VALID', 'INVALID'].indexOf(data.userError) === -1) {