* Change count to 1 and add a todo.

This commit is contained in:
dingguodong
2021-08-03 11:04:04 +08:00
parent 08f4ebc0de
commit 2fef22e3dc
+2 -1
View File
@@ -518,7 +518,8 @@ class gitlab
if(!scm::checkRevision($version)) return array();
$api = "commits";
if(empty($count)) $count = 100;
/* TODO Put getCommits into cron job. And check best size of $count. */
if(empty($count)) $count = 1;
$params = array();
$params['ref_name'] = $branch;