소스 검색

fix: default hubConfig

joe 4 년 전
부모
커밋
c1c0bd6a33
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      .gitignore
  2. 1 1
      ihub.go

+ 1 - 1
.gitignore

@@ -1,3 +1,3 @@
 .idea/
 .vscode/
-sample/echo
+sample/sample

+ 1 - 1
ihub.go

@@ -14,7 +14,7 @@ var (
 		WriteBufSize:   2048,
 		Timeout:        3 * time.Second,
 		Tick:           10 * time.Second,
-		ReadTimeout:    3 * time.Second,
+		ReadTimeout:    12 * time.Second,	// should greater than Tick
 	}
 )