elugovoy / MQLMySQL-Project

MQL & DLL libraries for working with MySQL database
GNU General Public License v3.0
48 stars 30 forks source link

DB Connect Timeout Adjustment #8

Open SuddenFX opened 3 years ago

SuddenFX commented 3 years ago

I've noticed that if I take the DB down it will hang the terminal as per usual. I wrote a simple check and set a flag so when it failed it doesn't keep trying. However the timeout is at least 2 minutes. I do not see a way to shorten this to something like 15-30 seconds. Is there a way to do that?

Thanks