dovecot-2.2: dsync: Increased "remote cmd exit wait" from 5 to 3...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Jan 31 17:03:22 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/47ad56ea1788
changeset: 15695:47ad56ea1788
user: Timo Sirainen <tss at iki.fi>
date: Thu Jan 31 17:03:16 2013 +0200
description:
dsync: Increased "remote cmd exit wait" from 5 to 30 seconds.
diffstat:
src/doveadm/dsync/doveadm-dsync.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 1d88f01ba2aa -r 47ad56ea1788 src/doveadm/dsync/doveadm-dsync.c
--- a/src/doveadm/dsync/doveadm-dsync.c Thu Jan 31 17:01:46 2013 +0200
+++ b/src/doveadm/dsync/doveadm-dsync.c Thu Jan 31 17:03:16 2013 +0200
@@ -32,6 +32,7 @@
#define DSYNC_LOCK_FILENAME ".dovecot-sync.lock"
#define DSYNC_COMMON_GETOPT_ARGS "+adEfl:m:n:r:Rs:"
+#define DSYNC_REMOTE_CMD_EXIT_WAIT_SECS 30
struct dsync_cmd_context {
struct doveadm_mail_cmd_context ctx;
@@ -342,7 +343,7 @@
/* wait for the remote command to finish to see any final errors.
don't wait very long though. */
- alarm(5);
+ alarm(DSYNC_REMOTE_CMD_EXIT_WAIT_SECS);
if (wait(&status) == -1) {
if (errno != EINTR)
i_error("wait() failed: %m");
More information about the dovecot-cvs
mailing list