diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-08-21 15:49:51 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-08-21 15:49:51 -0500 |
commit | 2be47ae02ad5b188ef450eccddc8420516a5b216 (patch) | |
tree | 334145fbe85983e9ca9e06dda9283b26cd691306 /src | |
parent | Merge pull request #5815 (diff) | |
parent | Increase max_dbs from 20 to 32 (diff) | |
download | monero-2be47ae02ad5b188ef450eccddc8420516a5b216.tar.xz |
Merge pull request #5817
50ec40e Increase max_dbs from 20 to 32 (hyc)
Diffstat (limited to 'src')
-rw-r--r-- | src/blockchain_db/lmdb/db_lmdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.cpp b/src/blockchain_db/lmdb/db_lmdb.cpp index 78db37b5a..1ede7af62 100644 --- a/src/blockchain_db/lmdb/db_lmdb.cpp +++ b/src/blockchain_db/lmdb/db_lmdb.cpp @@ -1329,7 +1329,7 @@ void BlockchainLMDB::open(const std::string& filename, const int db_flags) // set up lmdb environment if ((result = mdb_env_create(&m_env))) throw0(DB_ERROR(lmdb_error("Failed to create lmdb environment: ", result).c_str())); - if ((result = mdb_env_set_maxdbs(m_env, 20))) + if ((result = mdb_env_set_maxdbs(m_env, 32))) throw0(DB_ERROR(lmdb_error("Failed to set max number of dbs: ", result).c_str())); int threads = tools::get_max_concurrency(); |