1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00

Set the default pool size to 1

This commit is contained in:
Asim Aslam 2018-05-26 09:10:29 +01:00
parent 070cebd605
commit b4f47b1cc9

View File

@ -74,7 +74,7 @@ var (
// DefaultRequestTimeout is the default request timeout
DefaultRequestTimeout = time.Second * 5
// DefaultPoolSize sets the connection pool size
DefaultPoolSize = 0
DefaultPoolSize = 1
// DefaultPoolTTL sets the connection pool ttl
DefaultPoolTTL = time.Minute
)