summaryrefslogtreecommitdiff
path: root/source3/tdb/tdb.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-05 01:50:06 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-05 01:50:06 +0000
commit1f438ffb7ea20673dcd9975528769a0321236a24 (patch)
tree7e7961d12733c0507f02bcbd7634c28621324753 /source3/tdb/tdb.c
parent437c68b5fe4905f7420c9d1d1173f025b6a9c154 (diff)
downloadsamba-1f438ffb7ea20673dcd9975528769a0321236a24.tar.gz
samba-1f438ffb7ea20673dcd9975528769a0321236a24.tar.bz2
samba-1f438ffb7ea20673dcd9975528769a0321236a24.zip
lower the default hash size a bit
(This used to be commit 51ed6e8cec47642641e6b26682fd6f25624b19ae)
Diffstat (limited to 'source3/tdb/tdb.c')
-rw-r--r--source3/tdb/tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c
index 89c1368c12..fc510e9561 100644
--- a/source3/tdb/tdb.c
+++ b/source3/tdb/tdb.c
@@ -39,7 +39,7 @@
#define TDB_FREE_MAGIC (~TDB_MAGIC)
#define TDB_ALIGN 4
#define MIN_REC_SIZE (2*sizeof(struct list_struct) + TDB_ALIGN)
-#define DEFAULT_HASH_SIZE 512
+#define DEFAULT_HASH_SIZE 128
#define TDB_PAGE_SIZE 0x2000
#define TDB_LEN_MULTIPLIER 10
#define FREELIST_TOP (sizeof(struct tdb_header))