How to set command time out for queries in Python using SQL Alchemy?

后端 未结 0 965
庸人自扰
庸人自扰 2021-02-10 23:47

In my application some times, it is taking more than 2 hours to update a table some times. I want to set a time out if a query takes more than 10 minutes. We are using Python +

相关标签:
回答
  • 消灭零回复
提交回复
热议问题