From 7f54462e6070462b7d1cc460f5c26049140673a8 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Tue, 25 Oct 2022 10:05:10 +0400 Subject: [PATCH] [#1920] cli: Print used RPC timeout in verbose exec Signed-off-by: Leonard Lyubich --- cmd/neofs-cli/internal/client/sdk.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/neofs-cli/internal/client/sdk.go b/cmd/neofs-cli/internal/client/sdk.go index 4ef2044ea..94ff1d005 100644 --- a/cmd/neofs-cli/internal/client/sdk.go +++ b/cmd/neofs-cli/internal/client/sdk.go @@ -55,6 +55,8 @@ func GetSDKClient(key *ecdsa.PrivateKey, addr network.Address) (*client.Client, // for too long. prmDial.SetTimeout(timeout) prmDial.SetStreamTimeout(timeout) + + common.PrintVerbose("Set request timeout to %s.", timeout) } c.Init(prmInit)