aboutsummaryrefslogtreecommitdiffstats
path: root/Source/MainController.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-03-28 01:48:37 +0000
committerrowanbeentje <rowan@beent.je>2009-03-28 01:48:37 +0000
commit808a76c28f2346befc38a7b6e744987b2bedace1 (patch)
tree49fdbed7febdf85bf6cc4dad76a89e2f87a80169 /Source/MainController.m
parent905a44014caa805f2b2621bedef3a76da259c8b1 (diff)
downloadsequelpro-808a76c28f2346befc38a7b6e744987b2bedace1.tar.gz
sequelpro-808a76c28f2346befc38a7b6e744987b2bedace1.tar.bz2
sequelpro-808a76c28f2346befc38a7b6e744987b2bedace1.zip
- Add a preference (currently with no UI) for connection timeout
- Improve connection error messages slightly. - Avoid reading prefs for every keepalive check - now sets connection timeout and keepalive interval on connection setup - Fix and extend connection checks to avoid showing extra errors when the connection has been closed
Diffstat (limited to 'Source/MainController.m')
-rw-r--r--Source/MainController.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/MainController.m b/Source/MainController.m
index 8c76014a..257d43c3 100644
--- a/Source/MainController.m
+++ b/Source/MainController.m
@@ -668,6 +668,7 @@ checks for updates and opens download page in default browser
[NSNumber numberWithBool:YES], @"fetchRowCount",
[NSNumber numberWithBool:YES], @"limitRows",
[NSNumber numberWithInt:1000], @"limitRowsValue",
+ [NSNumber numberWithInt:10], @"connectionTimeout",
[NSNumber numberWithInt:60], @"keepAliveInterval",
[NSNumber numberWithInt:0], @"lastUsedVersion",
nil]];