Browse Source

fasthttp: keep client connections for 1.5s in prefork tests instead of 200ms. This should reduce overhead for connection establishing

Aliaksandr Valialkin 9 years ago
parent
commit
bb07d20f95

+ 1 - 1
frameworks/Go/fasthttp-mysql/src/hello/hello.go

@@ -94,7 +94,7 @@ func main() {
 	}
 	}
 }
 }
 
 
-const maxConnDuration = time.Millisecond * 200
+const maxConnDuration = time.Millisecond * 1500
 
 
 var connDurationJitter uint64
 var connDurationJitter uint64
 
 

+ 1 - 1
frameworks/Go/fasthttp-postgresql/src/hello/hello.go

@@ -85,7 +85,7 @@ func main() {
 	}
 	}
 }
 }
 
 
-const maxConnDuration = time.Millisecond * 200
+const maxConnDuration = time.Millisecond * 1500
 
 
 var connDurationJitter uint64
 var connDurationJitter uint64