frostfs-api-go/rpc/grpc
Evgenii Stratonikov e8e09f0d00 [#393] rpc/grpc: Use NewTimer instead of time.After
From the docs of `time.After`:
```
The underlying Timer is not recovered by the garbage collector until the timer fires.
```
We have 1 minute default timeout, which is pretty long given that most
of the time we exchange small messages.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-04-21 15:11:57 +03:00
..
call_options.go [#263] Implement client for exchanging raw messages using gRPC protocol 2021-03-17 14:03:49 +03:00
client.go [#263] Implement client for exchanging raw messages using gRPC protocol 2021-03-17 14:03:49 +03:00
conn.go [#196] rpc/grpc: Implement Client.Conn method 2021-05-31 10:13:00 +03:00
init.go [#393] rpc/grpc: Use NewTimer instead of time.After 2022-04-21 15:11:57 +03:00
options.go [#366] rpc/grpc: Perform read-write message operations with timeout 2021-12-28 12:49:31 +03:00
util.go Add v2 version to go module name 2021-11-17 15:29:33 +03:00