I'm using pymssql v 0.8.0 with FreeTDS 0.64. This looks to be the only reasonable way to set a query timeout:
conn = pymmsql.connect(…) conn._pymssqlCnx__cnx.set_query_timeout(15)
Is that the "correct" way to do it?
Thanks,
Skip Montanaro
Log in to post a comment.
I'm using pymssql v 0.8.0 with FreeTDS 0.64. This looks to be the only reasonable way to set a query timeout:
conn = pymmsql.connect(…)
conn._pymssqlCnx__cnx.set_query_timeout(15)
Is that the "correct" way to do it?
Thanks,
Skip Montanaro