]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-sql: Dropped connect timeout to 5 seconds.
authorTimo Sirainen <tss@iki.fi>
Thu, 15 Sep 2011 10:53:10 +0000 (13:53 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 15 Sep 2011 10:53:10 +0000 (13:53 +0300)
Postfix is using 10 second auth timeout and this needs to be less than that.

src/lib-sql/sql-api-private.h

index e965db5ff0f58408173ab110cabfa4c08884dbe4..1b9f2435dfe8fb1f6d827c2328d823aeb1df0030 100644 (file)
@@ -25,7 +25,7 @@ enum sql_db_state {
    is never used). */
 #define SQL_CONNECT_RESET_DELAY 15
 /* Abort connect() if it can't connect within this time. */
-#define SQL_CONNECT_TIMEOUT_SECS 10
+#define SQL_CONNECT_TIMEOUT_SECS 5
 /* Abort queries after this many seconds */
 #define SQL_QUERY_TIMEOUT_SECS 60
 /* Default max. number of connections to create per host */