Skip to content

Commit

Permalink
Merge branch 'handle-503-gitlab' of 'https://github.com/valeriocos/pe…
Browse files Browse the repository at this point in the history
…rceval'

Merges #463
Closes #463
  • Loading branch information
sduenas committed Dec 4, 2018
2 parents 89fc35b + f69ad89 commit 30e62c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions perceval/backends/core/gitlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class GitLab(Backend):
:param sleep_time: time to sleep in case
:param blacklist_ids: ids of items that must not be retrieved
"""
version = '0.6.1'
version = '0.6.2'

CATEGORIES = [CATEGORY_ISSUE, CATEGORY_MERGE_REQUEST]

Expand Down Expand Up @@ -403,7 +403,7 @@ def __init__(self, owner, repository, token, base_url=None,
base_url = GITLAB_API_URL

super().__init__(base_url, sleep_time=sleep_time, max_retries=max_retries,
extra_headers=self._set_extra_headers(), extra_retry_after_status=[502],
extra_headers=self._set_extra_headers(), extra_retry_after_status=[502, 503],
archive=archive, from_archive=from_archive)
super().setup_rate_limit_handler(rate_limit_header=self.RATE_LIMIT_HEADER,
rate_limit_reset_header=self.RATE_LIMIT_RESET_HEADER,
Expand Down

0 comments on commit 30e62c7

Please sign in to comment.