long2ice / asynch

An asyncio ClickHouse Python Driver with native (TCP) interface support.
https://github.com/long2ice/asynch
Apache License 2.0
180 stars 42 forks source link

reset connection state #101

Closed boolka closed 3 months ago

boolka commented 4 months ago

When connection was interrupted for some how while executing the query it must be cleaned. Calling connection._connection.reset_state() returns connection back to pool cleaned.

The problem was discussed here #93 and #71

boolka commented 3 months ago

@long2ice pls consider my merge request

long2ice commented 3 months ago

Thanks!

tiejunhu commented 3 months ago

Thanks!

Would you release a new version so that we could update our depends in project from git commit to a version number? Thank you.