* Adjust default per_page param for get commits from gitlab api.

This commit is contained in:
Guan Xiying
2021-08-04 15:57:53 +08:00
parent 4fb7cb2fda
commit d19f75d212
+1 -1
View File
@@ -519,7 +519,7 @@ class gitlab
$api = "commits";
/* TODO Put getCommits into cron job. And check best size of $count. */
if(empty($count)) $count = 1;
if(empty($count)) $count = 10;
$params = array();
$params['ref_name'] = $branch;