forked from TrueCloudLab/frostfs-api-go
aa53fb7131
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> |
||
---|---|---|
.. | ||
client | ||
common | ||
grpc | ||
message | ||
accounting.go | ||
common.go | ||
container.go | ||
netmap.go | ||
object.go | ||
reputation.go | ||
session.go |