##// END OF EJS Templates
fix(git): make the fetch revs use smaller revs to be less memory hungry, and less prone to fail
super-admin -
r1185:729a204e default
parent child Browse files
Show More
@@ -799,7 +799,7 b' class GitRemote(RemoteBase):'
799 log.debug('Finished obtaining fetch refs, total: %s', len(fetch_refs))
799 log.debug('Finished obtaining fetch refs, total: %s', len(fetch_refs))
800
800
801 if fetch_refs:
801 if fetch_refs:
802 for chunk in more_itertools.chunked(fetch_refs, 1024 * 4):
802 for chunk in more_itertools.chunked(fetch_refs, 128):
803 fetch_refs_chunks = list(chunk)
803 fetch_refs_chunks = list(chunk)
804 log.debug('Fetching %s refs from import url', len(fetch_refs_chunks))
804 log.debug('Fetching %s refs from import url', len(fetch_refs_chunks))
805 self.run_git_command(
805 self.run_git_command(
General Comments 0
You need to be logged in to leave comments. Login now