summaryrefslogtreecommitdiff
path: root/doc/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/index.md')
-rw-r--r--doc/index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/index.md b/doc/index.md
index 56967c7..0f6d649 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -345,7 +345,7 @@ non-NULL, it is used to cache frequently used uncompressed block contents.
#include "leveldb/cache.h"
leveldb::Options options;
-options.block_cache = leveldb::NewLRUCache(100 * 1048576); // 100M cache capacity
+options.block_cache = leveldb::NewLRUCache(100 * 1048576); // 100MB cache
leveldb::DB* db;
leveldb::DB::Open(options, name, &db);
... use the db ...