It happens that the http request already timed out long ago, or that a browser has been closed, but that the query still runs at SQL Server (Azure database instance).
Is there a way to set a database timeout in the Thinkwise database connection settings?
Or should I post this as an idea?
We had some problems during our last update. One of the possible explanations is that something started a query while there were no indexes. Having a reasonable short timeout would protect against this kind of scenarios.
Ideally I would like to set the timeout only for connections from Indicium initiated by the user interface, as updates and DBA work can require longer queries. It would be even better if it would be possible to have different settings per view / workflow step, as queries for normal UI screens should never exceed 1 second, while some graphics / download / upload / update functionalities might require more.
Solved
Database connection timeout
Best answer by Mark Jongeling
Hey Daan,
Currently Indicium performs the request and sends the response to the client whether or not that client is still listening. Feel free to create an idea for Indicium to ping the listener if it's still actively listening.
Introducing a time-out may have side-effects as some processes simply may take a long time and would be then terminated if it exceeds the time-out period. I'm not so sure this is the best way to stop request prematuely.
This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.