Browse Source

fix: default hubConfig

joe 4 years ago
parent
commit
c1c0bd6a33
2 changed files with 2 additions and 2 deletions
  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
 	}
 )