Add 'read_timeout' to connect kwarg options. Unless I'm missing something the changes are trivial and in _mysql_ConnectionObject_Initialize. I've added this to my own personal build.
It's a blunt instrument in the absence of item 1542332 "Make a new cursor class to limit query time"
Log in to post a comment.