We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
timeout
1 parent 72a76a0 commit 101b2d1Copy full SHA for 101b2d1
1 file changed
hcloud/_client.py
@@ -129,6 +129,7 @@ class Client:
129
130
- ``conflict``
131
- ``rate_limit_exceeded``
132
+ - ``timeout``
133
134
Changes to the retry policy might occur between releases, and will not be considered
135
breaking changes.
@@ -419,6 +420,7 @@ def _retry_policy(self, exception: APIException) -> bool:
419
420
return exception.code in (
421
"rate_limit_exceeded",
422
"conflict",
423
+ "timeout",
424
)
425
426
if isinstance(exception.code, int):
0 commit comments