[dovecot-cvs] dovecot/src/lib-index mail-hash.c,1.30,1.31
tss at dovecot.org
tss at dovecot.org
Wed Dec 20 15:17:34 UTC 2006
Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv22080
Modified Files:
mail-hash.c
Log Message:
Removed debugging #if 0.
Index: mail-hash.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-hash.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- mail-hash.c 20 Dec 2006 05:54:13 -0000 1.30
+++ mail-hash.c 20 Dec 2006 15:17:32 -0000 1.31
@@ -1032,13 +1032,12 @@
i_assert(hash->locked);
-#if 0
nodes_per_list = (float)(hash->hdr->hashed_count + grow_count) /
(float)hash->hdr->hash_size;
if ((nodes_per_list > 0.3 && nodes_per_list < 2.0) ||
hash->hdr->hash_size <= MAIL_HASH_MIN_SIZE)
return 0;
-#endif
+
/* create a temporary hash */
tmp_hash = mail_hash_open(hash->index,
t_strconcat(hash->suffix, ".tmp", NULL),
More information about the dovecot-cvs
mailing list