[dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.103, 1.104
tss at dovecot.org
tss at dovecot.org
Thu Mar 15 16:31:22 EET 2007
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.85.2.8, 1.85.2.9
- Next message: [dovecot-cvs] dovecot/src/lib ioloop-epoll.c, 1.11.2.5, 1.11.2.6 ioloop-internal.h, 1.16.2.2, 1.16.2.3 ioloop-kqueue.c, 1.4.2.8, 1.4.2.9 ioloop-poll.c, 1.32.2.2, 1.32.2.3 ioloop-select.c, 1.23, 1.23.2.1 ioloop.c, 1.35.2.8, 1.35.2.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv11527
Modified Files:
index-storage.c
Log Message:
Check for the index destroy timeouts a bit less often.
Index: index-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-storage.c,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -d -r1.103 -r1.104
--- index-storage.c 6 Mar 2007 19:54:23 -0000 1.103
+++ index-storage.c 15 Mar 2007 14:31:18 -0000 1.104
@@ -197,8 +197,10 @@
list->refcount--;
list->destroy_time = ioloop_time + INDEX_CACHE_TIMEOUT;
- if (to_index == NULL)
- to_index = timeout_add(1000, index_removal_timeout, NULL);
+ if (to_index == NULL) {
+ to_index = timeout_add(INDEX_CACHE_TIMEOUT*1000/2,
+ index_removal_timeout, NULL);
+ }
}
void index_storage_destroy_unrefed(void)
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.85.2.8, 1.85.2.9
- Next message: [dovecot-cvs] dovecot/src/lib ioloop-epoll.c, 1.11.2.5, 1.11.2.6 ioloop-internal.h, 1.16.2.2, 1.16.2.3 ioloop-kqueue.c, 1.4.2.8, 1.4.2.9 ioloop-poll.c, 1.32.2.2, 1.32.2.3 ioloop-select.c, 1.23, 1.23.2.1 ioloop.c, 1.35.2.8, 1.35.2.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list