diff options
author | 2010-06-30 22:16:53 +0000 | |
---|---|---|
committer | 2010-06-30 22:16:53 +0000 | |
commit | 85e920f670a650f6084bf20b985b2bd0126f7fc1 (patch) | |
tree | bd5f4aead8f23c77688219392a4291e655aa26b6 | |
parent | Make it possible to store multiple LSP to a FEC. This is another step to (diff) | |
download | wireguard-openbsd-85e920f670a650f6084bf20b985b2bd0126f7fc1.tar.xz wireguard-openbsd-85e920f670a650f6084bf20b985b2bd0126f7fc1.zip |
Set a default btree cache size.
-rw-r--r-- | usr.sbin/ldapd/parse.y | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ldapd/parse.y b/usr.sbin/ldapd/parse.y index 0b31c4177b7..e198c1988e1 100644 --- a/usr.sbin/ldapd/parse.y +++ b/usr.sbin/ldapd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.7 2010/06/30 19:26:39 martinh Exp $ */ +/* $OpenBSD: parse.y,v 1.8 2010/06/30 22:16:53 martinh Exp $ */ /* * Copyright (c) 2009, 2010 Martin Hedenfalk <martinh@openbsd.org> @@ -1146,6 +1146,8 @@ namespace_new(const char *suffix) return NULL; ns->suffix = strdup(suffix); ns->sync = 1; + ns->cache_size = 1024; + ns->index_cache_size = 512; if (ns->suffix == NULL) { free(ns->suffix); free(ns); |