[dovecot-cvs] dovecot/src/master mail-process.c, 1.57, 1.58 master-settings.c, 1.67, 1.68 master-settings.h, 1.43, 1.44

cras at dovecot.org cras at dovecot.org
Fri Sep 24 01:29:16 EEST 2004


Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv20595/src/master

Modified Files:
	mail-process.c master-settings.c master-settings.h 
Log Message:
Added mbox_lazy_writes setting.



Index: mail-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- mail-process.c	11 Sep 2004 12:21:45 -0000	1.57
+++ mail-process.c	23 Sep 2004 22:29:13 -0000	1.58
@@ -222,6 +222,8 @@
 		env_put("POP3_MAILS_KEEP_RECENT=1");
 	if (set->mbox_dirty_syncs)
 		env_put("MBOX_DIRTY_SYNCS=1");
+	if (set->mbox_lazy_writes)
+		env_put("MBOX_LAZY_WRITES=1");
 	(void)umask(set->umask);
 
 	env_put(t_strconcat("MBOX_READ_LOCKS=", set->mbox_read_locks, NULL));

Index: master-settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- master-settings.c	12 Sep 2004 14:26:58 -0000	1.67
+++ master-settings.c	23 Sep 2004 22:29:13 -0000	1.68
@@ -104,6 +104,7 @@
 	DEF(SET_INT, mbox_lock_timeout),
 	DEF(SET_INT, mbox_dotlock_change_timeout),
 	DEF(SET_BOOL, mbox_dirty_syncs),
+	DEF(SET_BOOL, mbox_lazy_writes),
 	DEF(SET_INT, umask),
 	DEF(SET_BOOL, mail_drop_priv_before_exec),
 
@@ -270,6 +271,7 @@
 	MEMBER(mbox_lock_timeout) 300,
 	MEMBER(mbox_dotlock_change_timeout) 30,
 	MEMBER(mbox_dirty_syncs) TRUE,
+	MEMBER(mbox_lazy_writes) TRUE,
 	MEMBER(umask) 0077,
 	MEMBER(mail_drop_priv_before_exec) FALSE,
 

Index: master-settings.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.h,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- master-settings.h	12 Sep 2004 14:26:58 -0000	1.43
+++ master-settings.h	23 Sep 2004 22:29:13 -0000	1.44
@@ -75,6 +75,7 @@
 	unsigned int mbox_lock_timeout;
 	unsigned int mbox_dotlock_change_timeout;
 	int mbox_dirty_syncs;
+	int mbox_lazy_writes;
 	unsigned int umask;
 	int mail_drop_priv_before_exec;
 



More information about the dovecot-cvs mailing list