From 0a2f87f9414b184759c45a4da63c72470557b0f1 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 18 Feb 2017 19:35:59 -0500 Subject: cron: add repository archive cleanup (#4061) --- vendor/github.com/gogits/git-module/repo_commit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/github.com/gogits/git-module/repo_commit.go') diff --git a/vendor/github.com/gogits/git-module/repo_commit.go b/vendor/github.com/gogits/git-module/repo_commit.go index 6424c5a6..54aca6c2 100644 --- a/vendor/github.com/gogits/git-module/repo_commit.go +++ b/vendor/github.com/gogits/git-module/repo_commit.go @@ -209,7 +209,7 @@ func (repo *Repository) CommitsByRangeSize(revision string, page, size int) (*li return repo.parsePrettyFormatLogToList(stdout) } -const DEFAULT_COMMITS_PAGE_SIZE = 50 +const DEFAULT_COMMITS_PAGE_SIZE = 30 func (repo *Repository) CommitsByRange(revision string, page int) (*list.List, error) { return repo.CommitsByRangeSize(revision, page, DEFAULT_COMMITS_PAGE_SIZE) -- cgit v1.2.3