File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -432,6 +432,20 @@ func WithSessionPoolDeleteTimeout(deleteTimeout time.Duration) Option {
432432 }
433433}
434434
435+ // WithSessionPoolKeepAliveMinSize set minimum sessions should be keeped alive in table.Client
436+ //
437+ // Deprecated: table client do not support background session keep-aliving now
438+ func WithSessionPoolKeepAliveMinSize (keepAliveMinSize int ) Option {
439+ return func (ctx context.Context , c * Driver ) error { return nil }
440+ }
441+
442+ // WithSessionPoolKeepAliveTimeout set timeout of keep alive requests for session in table.Client
443+ //
444+ // Deprecated: table client do not support background session keep-aliving now
445+ func WithSessionPoolKeepAliveTimeout (keepAliveTimeout time.Duration ) Option {
446+ return func (ctx context.Context , c * Driver ) error { return nil }
447+ }
448+
435449// WithIgnoreTruncated disables errors on truncated flag
436450func WithIgnoreTruncated () Option {
437451 return func (ctx context.Context , c * Driver ) error {
You can’t perform that action at this time.
0 commit comments