Explorar o código

refactor: Modify the master start-stop logic

HeWang hai 7 meses
pai
achega
39f5eda417
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)