Increase Command Timeout for Database modules
When running queries or commands towards a database, there is a default timeout that defines how long the client waits to receive a response until the request times out. As default, this timeout is usually set to 30 seconds.
While this is sufficient for the vast majority of use cases, you might find yourself in a situation where the execution takes longer due to various reasons.
In such cases you can increase the command timeout as part of the connection string.
Example below for MsSQL connection string where we set the timeout to 60 seconds:
Server=tcp:192.168.0.5;Database=crosser;User
ID=demo;Password=crosser123;Encrypt=false;Command Timeout=60
Note: This is just an example, depending on your database, you might find other useful settings that you can add as part of your connection string.