diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2013-08-24 22:21:41 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2013-08-24 22:21:41 +0200 |
commit | 877b5e3653f12882e12c75aa0bb5be47f847bd09 (patch) | |
tree | 399b43ec4298fdefe16fd9c33e684b3e58867755 /src/leveldb/db/dbformat.h | |
parent | e9e2ef5fbd610fbaa3801440254c39ac4ba8f91d (diff) | |
parent | eed29f0f50806b9cfe9653509e7ed7f7eebdd3e3 (diff) |
Merge src/leveldb changes for LevelDB 1.13
Diffstat (limited to 'src/leveldb/db/dbformat.h')
-rw-r--r-- | src/leveldb/db/dbformat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leveldb/db/dbformat.h b/src/leveldb/db/dbformat.h index f7f64dafb6..5d8a032bd3 100644 --- a/src/leveldb/db/dbformat.h +++ b/src/leveldb/db/dbformat.h @@ -38,6 +38,9 @@ static const int kL0_StopWritesTrigger = 12; // space if the same key space is being repeatedly overwritten. static const int kMaxMemCompactLevel = 2; +// Approximate gap in bytes between samples of data read during iteration. +static const int kReadBytesPeriod = 1048576; + } // namespace config class InternalKey; |