HeWang 7 mesi fa
parent
commit
74c935864c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      aarch64/pjibot_guide/control/pkg/judge_local.go

+ 1 - 1
aarch64/pjibot_guide/control/pkg/judge_local.go

@@ -17,7 +17,7 @@ type StatusMessage struct {
 
 func GetLocalStatus(localStatus *string) {
 	for {
-		time.Sleep(30 * time.Second)
+		time.Sleep(2 * time.Second)
 		_, msg, err := config.WsConn.ReadMessage()
 		if err != nil {
 			log.Println("Error in receive:", err)