Explorar o código

fix: default hubConfig

joe %!s(int64=4) %!d(string=hai) anos
pai
achega
c1c0bd6a33
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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
 	}
 )