summaryrefslogtreecommitdiff
path: root/gitlab/const.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/const.py')
-rw-r--r--gitlab/const.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gitlab/const.py b/gitlab/const.py
index 1dab752..5d3602b 100644
--- a/gitlab/const.py
+++ b/gitlab/const.py
@@ -131,6 +131,8 @@ SEARCH_SCOPE_PROJECT_NOTES = SearchScope.PROJECT_NOTES.value
USER_AGENT: str = f"{__title__}/{__version__}"
+RETRYABLE_TRANSIENT_ERROR_CODES = [500, 502, 503, 504] + list(range(520, 531))
+
__all__ = [
"AccessLevel",
"Visibility",