Explorar o código

revert: fdb的cache只需要几百字节, 还是开着吧

Wendal Chen %!s(int64=3) %!d(string=hai) anos
pai
achega
f1f4edde1a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      components/flashdb/inc/fdb_def.h

+ 1 - 1
components/flashdb/inc/fdb_def.h

@@ -27,7 +27,7 @@ extern "C" {
 
 
 /* the KV cache table size, it will improve KV search speed when using cache */
 /* the KV cache table size, it will improve KV search speed when using cache */
 #ifndef FDB_KV_CACHE_TABLE_SIZE
 #ifndef FDB_KV_CACHE_TABLE_SIZE
-#define FDB_KV_CACHE_TABLE_SIZE        0
+#define FDB_KV_CACHE_TABLE_SIZE        64
 #endif
 #endif
 
 
 /* the sector cache table size, it will improve KV save speed when using cache */
 /* the sector cache table size, it will improve KV save speed when using cache */