[#258] Add explicit expiration epoch

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2021-11-08 11:44:21 +03:00 committed by Alex Vanin
parent 214c55431b
commit 71f578a883

View file

@ -5,6 +5,7 @@ import (
"crypto/ecdsa"
"encoding/json"
"fmt"
"math"
"os"
"os/signal"
"strings"
@ -409,6 +410,7 @@ func createSDKClient(ctx context.Context, log *zap.Logger, key *ecdsa.PrivateKey
Key: key,
NodeConnectionTimeout: poolConnectTimeout,
NodeRequestTimeout: poolRequestTimeout,
SessionExpirationEpoch: math.MaxUint32,
}
return pb.Build(ctx, opts)
}