ynput / ayon-python-api

Apache License 2.0
9 stars 3 forks source link

Timeouts and retries #86

Closed iLLiCiTiT closed 1 year ago

iLLiCiTiT commented 1 year ago

Description

Add timeouts and max retries of requests in ServerAPI.

Additional information

We had some requests to be able to modify timeout and also to raise the default one. It also often happened that the connection failed because of server restart, which is avoided by retries.