davidhamann / python-fmrest

Python wrapper around the FileMaker Data API
MIT License
100 stars 27 forks source link

Timeout issue #28

Closed subbe98 closed 4 years ago

subbe98 commented 4 years ago

Hi, how do I change the timeout constant in const.py, to something higher? Like 20 or 30. Im trying to generate PDFs with a perform_script, but some PDFs times out due to read_timeout = 10. I installed the wrapper via pip, but not sure how to use my own modified version of the wrapper.

davidhamann commented 4 years ago

You can set an environment variable called fmrest_timeout with the number of seconds you'd like the timeout to be.