Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

If you experience a timeout durring the process, there are 3 variables at the top of ApiClient.py that can be adjusted. The script can be edited in any text editing software, eg. notepad or notepad++.

#Shared timeout and retry parameters to tune if network is difficult
TIMEOUT=40
LONGTIMEOUT=1200
RETRIES=Retry(
    total=3, 
    status_forcelist=[429, 500, 502, 503, 504], 
    method_whitelist=["HEAD", "GET", "POST"]
)
  • TIMEOUT is used for the timeout of all communications except the json import

  • LONG TIMEOUT only controlls the timeout for the json import

  • RETRIES covers all the rules for retries after a timeout or http error; only the total should be adjusted.

  • No labels