always wait, no timeout
This commit is contained in:
@@ -391,7 +391,7 @@ func (p *SyncedPool) AddRemote(host string) {
|
||||
|
||||
host_pool, err := netpool.New(func() (net.Conn, error) {
|
||||
return net.Dial("tcp", fmt.Sprintf("%s:1338", host))
|
||||
}, netpool.WithMaxPool(256), netpool.WithMinPool(5))
|
||||
}, netpool.WithMaxPool(1024), netpool.WithMinPool(5))
|
||||
|
||||
if err != nil {
|
||||
log.Printf("Error creating pool: %v\n", err)
|
||||
|
||||
Reference in New Issue
Block a user