Occasionally the HTC API calls may time out, with an ConnectionResetError or ConnectTimeout exception being raised by the library.
There are suggestions to implement a retry mechanism in this python library itself, instead of handing off this responsibility to end-users. We could use something like https://requests.readthedocs.io/en/latest/user/advanced/#example-automatic-retries . The number of retries should be configurable, for example through the RescaleHtc object, with a sensible default setting (possibly 1).
Occasionally the HTC API calls may time out, with an ConnectionResetError or ConnectTimeout exception being raised by the library.
There are suggestions to implement a retry mechanism in this python library itself, instead of handing off this responsibility to end-users. We could use something like https://requests.readthedocs.io/en/latest/user/advanced/#example-automatic-retries . The number of retries should be configurable, for example through the RescaleHtc object, with a sensible default setting (possibly 1).
Thoughts on this?