forked from TrueCloudLab/frostfs-node
[#2164] neofs-node: Allow to set reconnect interval
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
6f5edac730
commit
741482c26f
10 changed files with 34 additions and 8 deletions
1
pkg/network/cache/client.go
vendored
1
pkg/network/cache/client.go
vendored
|
@ -21,6 +21,7 @@ type (
|
|||
ClientCacheOpts struct {
|
||||
DialTimeout time.Duration
|
||||
StreamTimeout time.Duration
|
||||
ReconnectTimeout time.Duration
|
||||
Key *ecdsa.PrivateKey
|
||||
ResponseCallback func(client.ResponseMetaInfo) error
|
||||
AllowExternal bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue