update pool settings
This commit is contained in:
@@ -17,7 +17,7 @@ func TestGenericConnection(t *testing.T) {
|
||||
}
|
||||
pool, err := netpool.New(func() (net.Conn, error) {
|
||||
return net.Dial("tcp", "127.0.0.1:51337")
|
||||
}, netpool.WithMaxPool(512), netpool.WithMinPool(5))
|
||||
}, netpool.WithMaxPool(128), netpool.WithMinPool(16))
|
||||
if err != nil {
|
||||
t.Errorf("Error creating pool: %v\n", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user