Skip to content
Snippets Groups Projects
Commit 60c4893b authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Last changes should have been #ifdef

parent 0bcc892f
No related branches found
No related tags found
No related merge requests found
......@@ -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)) */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment