Skip to content

Commit

Permalink
MWPW-160894 Increasing finalize timeout to 80 seconds (#141)
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://main--dc--adobecom.hlx.page/acrobat/online/test/sign-pdf
  • Loading branch information
sanjayms01 authored Oct 24, 2024
2 parents 34167f7 + f9e7091 commit 1858404
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 1858404

Please sign in to comment.