frostfs-api-go/rpc
Alex Vanin aa53fb7131 [#366] rpc/grpc: Perform read-write message operations with timeout
Remote gRPC server may not return or accept data for a while. gRPC
solves this issue with timeout in context. However, the context is
used for entire gRPC method invocation. Unfortunately the duration
of requests with streams can't be estimated easily.

To solve this issue we can specify timeouts for every message read
and write. Single message has size limit so timeout can be related
to that.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-12-28 12:49:31 +03:00
..
client Add v2 version to go module name 2021-11-17 15:29:33 +03:00
common Add v2 version to go module name 2021-11-17 15:29:33 +03:00
grpc [#366] rpc/grpc: Perform read-write message operations with timeout 2021-12-28 12:49:31 +03:00
message Add v2 version to go module name 2021-11-17 15:29:33 +03:00
accounting.go Add v2 version to go module name 2021-11-17 15:29:33 +03:00
common.go Add v2 version to go module name 2021-11-17 15:29:33 +03:00
container.go Add v2 version to go module name 2021-11-17 15:29:33 +03:00
netmap.go Add v2 version to go module name 2021-11-17 15:29:33 +03:00
object.go Add v2 version to go module name 2021-11-17 15:29:33 +03:00
reputation.go Add v2 version to go module name 2021-11-17 15:29:33 +03:00
session.go Add v2 version to go module name 2021-11-17 15:29:33 +03:00