Before, the connected_event flag was set in every implementation of Connection but this utilizing libev. That was causing the driver to sometimes hang for >3 minutes when shutting down.
This PR adds setting the connected_event flag in close() in LibevConnection.
Before, the
connected_event
flag was set in every implementation ofConnection
but this utilizinglibev
. That was causing the driver to sometimes hang for >3 minutes when shutting down.This PR adds setting the connected_event flag in
close()
inLibevConnection
.Fixes: https://github.com/scylladb/python-driver/issues/172