How to extend the timeout of a SQL query

前端 未结 6 1828
没有蜡笔的小新
没有蜡笔的小新 2021-02-11 14:21

This is not a connection timeout as a connection to the database is made fine. The problem is that the stored procedure that I\'m calling takes longer than, say, 30 seconds and

6条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-11 14:44

    Mladen is right but if you have to do this you probably have a bigger problem with the proc itself. Under load it might take much longer than your new timeout. Might be worth spending some quality time with the proc to optimize.

提交回复
热议问题