mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-24 19:44:25 -04:00
@@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user