From 60c4893b9379627eb3da95558e65c162f6805d3a Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 31 Jul 2001 04:30:11 +0000 Subject: [PATCH] Last changes should have been #ifdef --- servers/slapd/back-bdb/idl.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-bdb/idl.h b/servers/slapd/back-bdb/idl.h index f7574ff791..f09527667c 100644 --- a/servers/slapd/back-bdb/idl.h +++ b/servers/slapd/back-bdb/idl.h @@ -12,11 +12,19 @@ #include "slap.h" -#define BDB_IDL_DB_SIZE (1<<8) /* 64K IDL on disk */ +#ifdef 0 + /* larger IDL sizes (which blow thread stacks) */ +#define BDB_IDL_DB_SIZE (1<<16) /* 64K IDL on disk */ +#define BDB_IDL_SIZE (1<<17) /* 128K IDL in memory */ +#else + /* reduced IDL sizes for testing */ +#define BDB_IDL_DB_SIZE (1<<8) /* 256 IDL on disk */ +#define BDB_IDL_SIZE (1<<10) /* 1K IDL in memory */ +#endif + #define BDB_IDL_DB_MAX (BDB_IDL_DB_SIZE-32) /* #define BDB_IDL_DB_ALLOC (BDB_IDL_DB_SIZE * sizeof(ID)) */ -#define BDB_IDL_SIZE (1<<10) /* 128K IDL in memory */ #define BDB_IDL_MAX (BDB_IDL_DB_SIZE-32) /* #define BDB_IDL_DB_ALLOC (BDB_IDL_DB_SIZE * sizeof(ID)) */ -- 2.39.5