summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-03-06 10:40:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:25 -0500
commit94a1b230f3323e55fa23f20b464964eaac643882 (patch)
tree94443b1277573266522cf64446ad408958384baf /source3/lib
parent59285f16d6428477b3a065fdf52098af1d62f606 (diff)
downloadsamba-94a1b230f3323e55fa23f20b464964eaac643882.tar.gz
samba-94a1b230f3323e55fa23f20b464964eaac643882.tar.bz2
samba-94a1b230f3323e55fa23f20b464964eaac643882.zip
r21723: Make use of the per-hashchain "freelists"
(This used to be commit f3421ae4cfa263c0e7a8e934b40342ee9885d239)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/messages.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c
index e0bf86a46c..e2c8a6b52f 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -133,6 +133,9 @@ BOOL message_init(void)
return False;
}
+ /* Activate the per-hashchain freelist */
+ tdb_set_max_dead(tdb, 5);
+
CatchSignal(SIGUSR1, SIGNAL_CAST sig_usr1);
message_register(MSG_PING, ping_message, NULL);