frostfs-sdk-go/pool
Alex Vanin 234373f249 [#31] pool: Do not invoke EndpointInfo to find the address
Since we transformed the pool of gRPC connection into the pool of
neofs clients, we don't need to call EndpointInfo to fetch the
address of the node for the beautiful error output.

Moreover it is done incorrectly, because c.CreateSession may return
context.Cancelled error (graceful shutdown). We will reuse the same
context for the EndpointInfo call which will lead to a
timeout freeze.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-09-07 13:54:34 +03:00
..
key.go [#26] *: Move pkg content to root 2021-07-28 13:47:27 +03:00
mock_test.go [#26] *: Move pkg content to root 2021-07-28 13:47:27 +03:00
pool.go [#31] pool: Do not invoke EndpointInfo to find the address 2021-09-07 13:54:34 +03:00
pool_test.go [#26] *: Move pkg content to root 2021-07-28 13:47:27 +03:00
sampler.go [#26] *: Move pkg content to root 2021-07-28 13:47:27 +03:00
sampler_test.go [#26] *: Move pkg content to root 2021-07-28 13:47:27 +03:00