dovecot-2.0: lib-sql: Dropped connect timeout to 5 seconds.

dovecot at dovecot.org dovecot at dovecot.org
Thu Sep 15 13:53:23 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/20a901f1de31
changeset: 12920:20a901f1de31
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Sep 15 13:53:10 2011 +0300
description:
lib-sql: Dropped connect timeout to 5 seconds.
Postfix is using 10 second auth timeout and this needs to be less than that.

diffstat:

 src/lib-sql/sql-api-private.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 3955a5b2a917 -r 20a901f1de31 src/lib-sql/sql-api-private.h
--- a/src/lib-sql/sql-api-private.h	Thu Sep 15 13:48:26 2011 +0300
+++ b/src/lib-sql/sql-api-private.h	Thu Sep 15 13:53:10 2011 +0300
@@ -25,7 +25,7 @@
    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 */


More information about the dovecot-cvs mailing list