浏览代码

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

Jerry Liang 1 月之前
父节点
当前提交
3ffaf7eeaf
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  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