ydb-python-sdk icon indicating copy to clipboard operation
ydb-python-sdk copied to clipboard

feature: Connection timeout for stream queries

Open rekby opened this issue 1 year ago • 0 comments

GRPC timeouts work for all query time, for stream queries in contains connection time and time for work with stream.

In out will be better to split them and set only connection timeout.

Now I see it as send request without GRPC timeout and start separate thread/coroutine for check the timeout and stop connection if it will not be connected, but not limit stream during work.

May be additional optional inactivity timeout.

rekby avatar Jul 31 '23 15:07 rekby