aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/gogits/git-module/repo_commit.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/gogits/git-module/repo_commit.go')
-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)