[dovecot-cvs] dovecot/src/plugins/convert convert-storage.c, 1.2,
1.3
cras at dovecot.org
cras at dovecot.org
Sun Feb 5 14:46:18 EET 2006
Update of /var/lib/cvs/dovecot/src/plugins/convert
In directory talvi:/tmp/cvs-serv27670/plugins/convert
Modified Files:
convert-storage.c
Log Message:
Removed immediate_stale_timeout and changed the stale_timeout behavior to
check both dotlock and the file it protects, and overwrite the lock file
whenever neither of them have been modified for stale_timeout seconds (ie.
also immediately if their timestamps are old enough).
Index: convert-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/convert/convert-storage.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- convert-storage.c 2 Feb 2006 21:00:32 -0000 1.2
+++ convert-storage.c 5 Feb 2006 12:46:15 -0000 1.3
@@ -11,17 +11,16 @@
#define CONVERT_LOCK_FILENAME ".dovecot.convert"
const struct dotlock_settings dotlock_settings = {
- NULL,
- NULL,
+ MEMBER(temp_prefix) NULL,
+ MEMBER(lock_suffix) NULL,
- 60*5,
- 0,
- 60*5,
+ MEMBER(timeout) 60*5,
+ MEMBER(stale_timeout) 60*5,
- NULL,
- NULL,
+ MEMBER(callback) NULL,
+ MEMBER(context) NULL,
- FALSE
+ MEMBER(use_excl_lock) FALSE
};
static int sync_mailbox(struct mailbox *box)
More information about the dovecot-cvs
mailing list