Browse Source

fix:修复xlog消息超时时间比远端短的问题

Jerry Liang 1 month ago
parent
commit
3ffaf7eeaf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/networkEvents/evioEvents.go

+ 1 - 1
service/networkEvents/evioEvents.go

@@ -171,7 +171,7 @@ func SendXlogCmdDate(uuid string, data []byte) (string, error) {
 			return "", err
 		}
 
-		ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
+		ctx, cancel := context.WithTimeout(context.Background(), 60*time.Second)
 		defer cancel()
 
 		// 创建一个带缓冲的 done channel