From f9e709168e9d1ef12a4d6849058ef38e0162aca6 Mon Sep 17 00:00:00 2001 From: Sanjay Saravanan <75960494+sanjayms01@users.noreply.github.com> Date: Thu, 24 Oct 2024 11:59:30 -0700 Subject: [PATCH] MWPW-160894 Increasing finalize timeout to 80 seconds (#138) Increasing timeout for finalize API to 80 seconds to provide enough buffer for backend request. Resolves: [MWPW-160894](https://jira.corp.adobe.com/browse/MWPW-160894) Test URLs: Before: https://stage--dc--adobecom.hlx.page/acrobat/online/test/sign-pdf?unitylibs=stage After: https://stage--dc--adobecom.hlx.page/acrobat/online/test/sign-pdf?unitylibs=MWPW-160894 --- unitylibs/core/workflow/workflow-acrobat/action-binder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unitylibs/core/workflow/workflow-acrobat/action-binder.js b/unitylibs/core/workflow/workflow-acrobat/action-binder.js index 86a4f66..c90d67c 100644 --- a/unitylibs/core/workflow/workflow-acrobat/action-binder.js +++ b/unitylibs/core/workflow/workflow-acrobat/action-binder.js @@ -326,7 +326,7 @@ export default class ActionBinder { }; const finalizeJson = await this.serviceHandler.postCallToService( this.acrobatApiConfig.acrobatEndpoint.finalizeAsset, - { body: JSON.stringify(finalAssetData), signal: AbortSignal.timeout?.(15000)}, + { body: JSON.stringify(finalAssetData), signal: AbortSignal.timeout?.(80000) }, ); if (!finalizeJson || Object.keys(finalizeJson).length !== 0) { await this.showSplashScreen();