From 4c4e117acfd420efc246227eff6b7ca0fd0cf5be Mon Sep 17 00:00:00 2001 From: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Thu, 7 Nov 2024 10:40:01 +0100 Subject: [PATCH] Update libs/application-generic/src/usecases/execute-bridge-request/execute-bridge-request.usecase.ts --- .../execute-bridge-request/execute-bridge-request.usecase.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/application-generic/src/usecases/execute-bridge-request/execute-bridge-request.usecase.ts b/libs/application-generic/src/usecases/execute-bridge-request/execute-bridge-request.usecase.ts index 1fa73802610..bef5608afd8 100644 --- a/libs/application-generic/src/usecases/execute-bridge-request/execute-bridge-request.usecase.ts +++ b/libs/application-generic/src/usecases/execute-bridge-request/execute-bridge-request.usecase.ts @@ -125,7 +125,8 @@ export class ExecuteBridgeRequest { if (computedValue === 0) { /* * If the computed value is 0, the retry conditions were not met and we don't want to retry. - * + * The retry condition is only met when the response has a `statusCodes` or `errorCodes` + * that matches the supplied retry configuration values. * @see https://github.com/sindresorhus/got/blob/3034c2fdcebdff94907a6e015a8b154e851fc343/documentation/7-retry.md?plain=1#L130 */ return 0;