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?



    1. The script timeout is increased using
      extensions_scripts_timeout=100000

    2. 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 be extensions_chromePdf_timeout=30000

    Maybe i missed something :)


  • administrators

    hmm actually there is a section in the docs that contains exactly that.

    0_1542812081751_Captura de pantalla 2018-11-21 a las 9.54.02 a.m..png

    just mention it, i understand that it can be easy to ignore.



  • This post is deleted!

Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.