Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/api-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,9 @@ GitLab server can sometimes return a transient HTTP error.
python-gitlab can automatically retry in such case, when
``retry_transient_errors`` argument is set to ``True``. When enabled,
HTTP error codes 500 (Internal Server Error), 502 (502 Bad Gateway),
503 (Service Unavailable), and 504 (Gateway Timeout) are retried. By
default an exception is raised for these errors.
503 (Service Unavailable), and 504 (Gateway Timeout) are retried. It will retry until reaching
the `max_retries` value. By default, `retry_transient_errors` is set to `False` and an exception
is raised for these errors.

.. code-block:: python

Expand Down