asp.net - Quarantine SQL Server queries in .net 3.5 -
alright, have 2 database servers, 1 owned us, 1 owned partner. our partners have been having issues lately have been causing numerous sql timeout errors, takes down our whole system. we'd prefer limit time queries can take 20 seconds max, otherwise quit trying , throw error (which can catch try/catch block).
couple of questions:
- is there way set particular db/connection string timeout after x seconds?
- is best way quarantine other system? or there better ways go this?
thanks
dumb question - commandtimeout in connection string suffice needs.
Comments
Post a Comment