Copy link to clipboard
Copied
Hello,
I have an issue with the time for conversion. I'm using the Adobe Tools API for converting a pdf to jpeg. Everything works fine except using larger files for conversion.
Example:
Copy link to clipboard
Copied
I forgot to mention that i'm using NodeJS for backend.
Copy link to clipboard
Copied
You're probably going to need to change your timeout. Most of the time for conversion isn't actually due to the conversion, it's just travel time for the document. There really isn't anything that Adobe can do about that.
Copy link to clipboard
Copied
I tried to increase the timeout using the example from documentation
const clientConfig = PDFToolsSdk.ClientConfig
.clientConfigBuilder()
.withReadTimeout(120000)
.build();
but still, I have this issue with the timeout. On the other hand heroku timeout value can't be changed..
Copy link to clipboard
Copied
The heroku timeout was the one I meant but it looks like that can't be changed. You're going to need to put something between your request and heroku that has a longer timeout so that you only push the results to heroku when the conversion is complete.