<div dir="ltr">I am working on a program that needs to write data back to a remote database. The location that needs this program has a high latency internet connection that is spotty at best. The problem I am having is that when the internet connection is down it takes two minutes or so for QSqlDatabase.open() to report that it can't connect to the remote server. <div>

<br></div><div>I am wondering if there is a way I can reduce this down to around thirty seconds or so?</div></div>