Closed tomasr78 closed 2 years ago
Also, move Timeout to properties as all ConvertAPI properties, makes no sense to use methods or configs to set timeouts that fully depend on Rest API timeout. This is very confusing when setting properties used one method but for Timeout - totally different scenario.
After this update need to update code snippets https://github.com/Baltsoft/CA-Web/issues/388
a
Do not pass any TimeOut to ConvertAPI and set HTTP Client timeout to 1800 seconds. The idea is to use the default timeout of ConvertAPI if no timeout is set and to prevent HTTP Client request deadlock set default HTTPClient timeout to 1800 seconds.
If, however, timeout is set we handle it as before, pass a timeout to ConvertAPI and set HTTPClient Timeout to:
ConvertAPITimeOut+conversion_timeout_delta
conversion_timeout_delta = 10