forked from TrueCloudLab/frostfs-node
[#1920] cli: Print used RPC timeout in verbose exec
Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>support/v0.34
parent
9a0824766c
commit
7f54462e60
|
@ -55,6 +55,8 @@ func GetSDKClient(key *ecdsa.PrivateKey, addr network.Address) (*client.Client,
|
||||||
// for too long.
|
// for too long.
|
||||||
prmDial.SetTimeout(timeout)
|
prmDial.SetTimeout(timeout)
|
||||||
prmDial.SetStreamTimeout(timeout)
|
prmDial.SetStreamTimeout(timeout)
|
||||||
|
|
||||||
|
common.PrintVerbose("Set request timeout to %s.", timeout)
|
||||||
}
|
}
|
||||||
|
|
||||||
c.Init(prmInit)
|
c.Init(prmInit)
|
||||||
|
|
Loading…
Reference in New Issue