diff --git a/spug_api/libs/gitlib.py b/spug_api/libs/gitlib.py index f408eeb4..7d2e1cc3 100644 --- a/spug_api/libs/gitlib.py +++ b/spug_api/libs/gitlib.py @@ -27,7 +27,7 @@ def fetch_branches_tags(self): for ref in self.repo.references: if isinstance(ref, RemoteReference): if ref.remote_head != 'HEAD': - branches[ref.remote_head] = self._get_commits(f'origin/{ref.remote_head}') + branches[ref.remote_head] = self._get_commits(f'origin/{ref.remote_head}', 30) elif isinstance(ref, TagReference): tags[ref.name] = { 'id': ref.tag.hexsha,