Эх сурвалжийг харах

refactor: Modify the master start-stop logic

HeWang 7 сар өмнө
parent
commit
39f5eda417

+ 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)