diff --git a/src/lmdb-js.h b/src/lmdb-js.h index 713aa17dc..65dc39b25 100644 --- a/src/lmdb-js.h +++ b/src/lmdb-js.h @@ -20,7 +20,7 @@ using namespace Napi; // set the threshold of when to use shared buffers (for uncompressed entries larger than this value) -const size_t SHARED_BUFFER_THRESHOLD = 0x4000; +const size_t SHARED_BUFFER_THRESHOLD = 0x1000000; const uint32_t SPECIAL_WRITE = 0x10101; const uint32_t REPLACE_WITH_TIMESTAMP_FLAG = 0x1000000; const uint32_t REPLACE_WITH_TIMESTAMP = 0x1010101;