forked from TrueCloudLab/frostfs-sdk-go
To avoid connection leak, call `close()` immediately after connection is established. In regular tree pool, unhealthy connections are handled by background goroutine which calls `redialIfNecessary()` to reestablish connection. Here it is not viable so connection must be close. Signed-off-by: Alex Vanin <a.vanin@yadro.com> |
||
---|---|---|
.. | ||
service | ||
client.go | ||
pool.go | ||
pool_signature.go | ||
pool_test.go | ||
statistic.go |