Add pagination to commit graph page (#8360)

Fixes #8308
This commit is contained in:
jaqra 2019-10-15 00:38:35 +03:00 committed by zeripath
parent 3083522620
commit 086bfb8b4b
4 changed files with 8 additions and 4 deletions

View file

@ -19,7 +19,7 @@ func BenchmarkGetCommitGraph(b *testing.B) {
}
for i := 0; i < b.N; i++ {
graph, err := GetCommitGraph(currentRepo)
graph, err := GetCommitGraph(currentRepo, 1)
if err != nil {
b.Error("Could get commit graph")
}