long2ice / asynch

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

reset connection state #101

Closed boolka closed 5 months ago

boolka commented 5 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 5 months ago

@long2ice pls consider my merge request

long2ice commented 5 months ago

Thanks!

tiejunhu commented 4 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.