dovecot-2.1: imapc: Removed accidentally committed debug sleeps.

dovecot at dovecot.org dovecot at dovecot.org
Wed Sep 7 09:40:29 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/3828fa3b8fd4
changeset: 13413:3828fa3b8fd4
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Sep 07 09:40:16 2011 +0300
description:
imapc: Removed accidentally committed debug sleeps.

diffstat:

 src/lib-storage/index/imapc/imapc-mail.c    |  2 --
 src/lib-storage/index/imapc/imapc-mailbox.c |  2 --
 2 files changed, 0 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 513802d016a0 -r 3828fa3b8fd4 src/lib-storage/index/imapc/imapc-mail.c
--- a/src/lib-storage/index/imapc/imapc-mail.c	Wed Sep 07 08:41:25 2011 +0300
+++ b/src/lib-storage/index/imapc/imapc-mail.c	Wed Sep 07 09:40:16 2011 +0300
@@ -69,7 +69,6 @@
 				mail_storage_set_critical(_mail->box->storage,
 					"imapc: Remote server didn't send "
 					"INTERNALDATE for UID %u", _mail->uid);
-				sleep(3600);
 			}
 			return -1;
 		}
@@ -147,7 +146,6 @@
 				mail_storage_set_critical(_mail->box->storage,
 					"imapc: Remote server didn't send "
 					"BODY[] for UID %u", _mail->uid);
-				sleep(3600);
 			}
 			return -1;
 		}
diff -r 513802d016a0 -r 3828fa3b8fd4 src/lib-storage/index/imapc/imapc-mailbox.c
--- a/src/lib-storage/index/imapc/imapc-mailbox.c	Wed Sep 07 08:41:25 2011 +0300
+++ b/src/lib-storage/index/imapc/imapc-mailbox.c	Wed Sep 07 09:40:16 2011 +0300
@@ -22,8 +22,6 @@
 		mbox->box.name, t_strdup_vprintf(reason, va));
 	va_end(va);
 
-	sleep(3600);
-
 	mail_index_mark_corrupted(mbox->box.index);
 	imapc_client_mailbox_disconnect(mbox->client_box);
 }


More information about the dovecot-cvs mailing list