diff options
author | stoffu <stoffu@protonmail.ch> | 2018-06-14 11:15:53 +0900 |
---|---|---|
committer | victorsintnicolaas <vicsn@users.noreply.github.com> | 2018-06-14 20:56:11 +0200 |
commit | 149da420e9f6ca83efd471d7a52cd665e6f1cf2e (patch) | |
tree | 547e7c6db3d1ce6d3b7d4394b34f988a9cfe6098 /src/blockchain_db/lmdb | |
parent | Merge pull request #3866 (diff) | |
download | monero-149da420e9f6ca83efd471d7a52cd665e6f1cf2e.tar.xz |
db_lmdb: enable batch transactions by default
Diffstat (limited to '')
-rw-r--r-- | src/blockchain_db/lmdb/db_lmdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h index cc1b06ca0..4580573eb 100644 --- a/src/blockchain_db/lmdb/db_lmdb.h +++ b/src/blockchain_db/lmdb/db_lmdb.h @@ -166,7 +166,7 @@ struct mdb_txn_safe class BlockchainLMDB : public BlockchainDB { public: - BlockchainLMDB(bool batch_transactions=false); + BlockchainLMDB(bool batch_transactions=true); ~BlockchainLMDB(); virtual void open(const std::string& filename, const int mdb_flags=0); |