浏览代码

refactor: Modify the master start-stop logic

HeWang 7 月之前
父节点
当前提交
39f5eda417
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      aarch64/pjibot_guide/control/main.go

+ 1 - 1
aarch64/pjibot_guide/control/main.go

@@ -102,7 +102,7 @@ func stopMasterNode() {
 func main() {
 	localTurnLength := 2  // s
 	cloudTurnLength := 60 // s
-	waitStopLength := 2   // min
+	waitStopLength := 1   // min
 
 	// 更新本地任务状态
 	go pkg.GetLocalStatus(&localStatus, &lastLocalStatus, localTurnLength)