Docker increase timeout limits
-
I've deployed jsreport to Azure using docker,
Was able to use environment variables to set some settings to get storage working etc.
Like:logger_console_level=debug
extensions_fsStore_persistence_provider=azure-storage
etc..
But i am trying to increase the timeout of scripts or render,
So i added:
scripts_timeout=10000
templatingEngines_timeout=10000
extensions_chrome_timeout=10000
And it looks like it's not being applied, still getting:
Error: Timeout Error: pdf generation not completed after 30000ms
Is there any other way to apply those settings or what am i doing wrong?
-
-
The script timeout is increased using
extensions_scripts_timeout=100000
-
The error
Error: Timeout Error: pdf generation not completed after 30000ms
comes from chrome generation. Nothing to do with the script.
This timeout can be increased using
extensions_chromePdf_timeout=100000
-
-
This post is deleted!
-
Thank you!
It works now, was really doing it in a wrong way...Maybe there could be better docs to explain how environment -> jsreport.config works.
-
Have you reached these docs?
https://jsreport.net/learn/configuration
-
Yes i did, but i could never figure that
"extensions": { "chrome-pdf": { "timeout": 30000 } }
specified here: https://jsreport.net/learn/chrome-pdf
Would actually beextensions_chromePdf_timeout=30000
Maybe i missed something :)
-
hmm actually there is a section in the docs that contains exactly that.
just mention it, i understand that it can be easy to ignore.
-
This post is deleted!