diff options
author | Unknwon <u@gogs.io> | 2017-02-18 19:35:59 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-02-18 19:35:59 -0500 |
commit | 0a2f87f9414b184759c45a4da63c72470557b0f1 (patch) | |
tree | 5690e3c001e558eb1c0590d218f7cc396390d959 /vendor/github.com/gogits | |
parent | c69900325d3b2d5eb7584512547fdc567bf6df91 (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.go | 2 |
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) |