Permalink
Browse files

change some configs

  • Loading branch information...
1 parent f18a6b5 commit ffd3e71df8003614b7ec6f41d2b5bfa8f0aa1d54 @BohuTANG committed May 25, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 engine/config.h
  2. +1 −1 engine/sst.c
View
4 engine/config.h
@@ -36,8 +36,8 @@
# define LSM_OPEN_FLAGS (O_RDWR | O_BINARY)
#endif
-#define NESSDB_MAX_KEY_SIZE (24) /* max key size */
-#define LOG_BUFFER_SIZE (2048) /* log buffer size*/
+#define NESSDB_MAX_KEY_SIZE (32) /* max key size */
+#define LOG_BUFFER_SIZE (1024*10) /* log buffer size*/
#define MTBL_MAX_COUNT (5000000) /* max count in memtable */
#define SST_MAX_COUNT (65536) /* one sst's max count entries */
#define META_MAX_COUNT (10000) /* max meta count */
View
2 engine/sst.c
@@ -190,7 +190,7 @@ void _sst_load(struct sst *sst)
}
closedir(dd);
- __DEBUG(LEVEL_DEBUG, "Load sst,all entries count:<%d>", all_count);
+ __DEBUG("Load sst,all entries count:<%d>", all_count);
}
struct sst *sst_new(const char *basedir)

0 comments on commit ffd3e71

Please sign in to comment.