diff --git a/conf/app.conf b/conf/app.conf index 0be776c..ee4b514 100644 --- a/conf/app.conf +++ b/conf/app.conf @@ -2,7 +2,7 @@ appname = PPGo_Job2 httpport = 8080 runmode = dev -version= V2.1 +version= V2.2 # 允许同时运行的任务数 jobs.pool = 1000 diff --git a/controllers/home.go b/controllers/home.go index 07a0584..cfe622f 100644 --- a/controllers/home.go +++ b/controllers/home.go @@ -35,7 +35,7 @@ func (self *HomeController) Help() { func (self *HomeController) Start() { groups_map := serverGroupLists(self.serverGroups, self.userId) //计算总任务数量 - _, count := models.TaskGetList(1, 200) + _, count := models.TaskGetList(1, 300) // 即将执行的任务 entries := jobs.GetEntries(30) jobList := make([]map[string]interface{}, len(entries))