Skip to content

Commit

Permalink
MWPW-160894 Increasing finalize timeout to 80 seconds (#138)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sanjayms01 authored and Sanjay Saravanan committed Oct 24, 2024
1 parent 34167f7 commit f9e7091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unitylibs/core/workflow/workflow-acrobat/action-binder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f9e7091

Please sign in to comment.