aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/gogits
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-02-18 19:35:59 -0500
committerUnknwon <u@gogs.io>2017-02-18 19:35:59 -0500
commit0a2f87f9414b184759c45a4da63c72470557b0f1 (patch)
tree5690e3c001e558eb1c0590d218f7cc396390d959 /vendor/github.com/gogits
parentc69900325d3b2d5eb7584512547fdc567bf6df91 (diff)
cron: add repository archive cleanup (#4061)
Diffstat (limited to 'vendor/github.com/gogits')
-rw-r--r--vendor/github.com/gogits/git-module/repo_commit.go2
1 files changed, 1 insertions, 1 deletions
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)