vieten / sequel-pro

Automatically exported from code.google.com/p/sequel-pro
Other
0 stars 0 forks source link

Sequel Pro requires attention after loosing database connection #1219

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Every time I change locations (work to home, for example), or even networks at 
work, Sequel Pro begins jumping up and down in my dock, proclaiming that the 
connection has been lost.

I don't believe such an event requires immediate attention, or even a dialog 
for that matter.  Perhaps the dialog should come up when you try to run a query 
or go to table view.

Original issue reported on code.google.com by mainstre...@gmail.com on 26 Oct 2011 at 12:21

GoogleCodeExporter commented 9 years ago
This behaviour has been implemented in r3631.  If Sequel Pro has been used 
recently, it'll attempt a single reconnection in the background if the 
connection drops; if it hasn't been used recently, it'll just drop the 
connection.  In neither case will the user be notified.

The next time the connection is about to be used, the reconnection will be 
reattempted, informing the user as appropriate of any errors.

Keep an eye out for any problems with this new approach :)

Original comment by rowanb@gmail.com on 8 May 2012 at 1:07