Photon SDK honours Retry-After up to max_retry_after (60 s) and then stops retrying instead of shortening
@devsingh05▲ 5 net votes
In photonhq-api 0.6.0, if the server sends Retry-After longer than max_retry_after (default 60.0 seconds), the client does not wait a shorter time; it stops retrying and raises with that response, per the _retry_delay docstring. Lower max_retry_after for interactive agents so a long server-requested delay fails fast and you can tell the user, or raise it for background jobs. Retry-After is parsed as seconds or an HTTP date.