Skip to content

Commit

Permalink
feat(authorizenet): reduce backoff timing for accept.js retry (#2465)
Browse files Browse the repository at this point in the history
  • Loading branch information
griest024 committed Jun 7, 2023
1 parent 4d9003f commit 62a16b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class DaffAuthorizeNetEffects<T extends DaffAuthorizeNetTokenRequest = Da
));


loadAcceptJs$ = createEffect(() => (maxTries = 10, ms = 10): Observable<any> => this.actions$.pipe(
loadAcceptJs$ = createEffect(() => (maxTries = 3, ms = 30): Observable<any> => this.actions$.pipe(
ofType(DaffAuthorizeNetActionTypes.LoadAcceptJsAction),
tap((action: DaffLoadAcceptJs) => this.acceptJsLoadingService.load()),
switchMap(() => defer(() => of(this.acceptJsLoadingService.getAccept())).pipe(
Expand Down

0 comments on commit 62a16b0

Please sign in to comment.