소스 검색

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)