forked from TrueCloudLab/frostfs-node
[#1746] network: Set timeout for streaming operations
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
0140ac354b
commit
4354359aed
11 changed files with 38 additions and 11 deletions
|
@ -323,8 +323,9 @@ func initCfg(path string) *cfg {
|
|||
workerPool: reputationWorkerPool,
|
||||
},
|
||||
clientCache: cache.NewSDKClientCache(cache.ClientCacheOpts{
|
||||
DialTimeout: apiclientconfig.DialTimeout(appCfg),
|
||||
Key: &key.PrivateKey,
|
||||
DialTimeout: apiclientconfig.DialTimeout(appCfg),
|
||||
StreamTimeout: apiclientconfig.StreamTimeout(appCfg),
|
||||
Key: &key.PrivateKey,
|
||||
}),
|
||||
persistate: persistate,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue