diff options
author | Bernard Normier <bernard@zeroc.com> | 2015-11-17 21:56:44 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2015-11-17 22:00:02 +0000 |
commit | fef311c882c42e82e96b6b6bea90c50920800774 (patch) | |
tree | a0848ee0651bb996c5d2c6f12ce47c6c96da7ad0 /cpp/src/IceGrid/Database.cpp | |
parent | finishing Bluez 5 implementation (diff) | |
download | ice-fef311c882c42e82e96b6b6bea90c50920800774.tar.bz2 ice-fef311c882c42e82e96b6b6bea90c50920800774.tar.xz ice-fef311c882c42e82e96b6b6bea90c50920800774.zip |
Reduced default LMDB size to 10MB (the LMDB default)
Diffstat (limited to 'cpp/src/IceGrid/Database.cpp')
-rw-r--r-- | cpp/src/IceGrid/Database.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp index 6115c85b111..45b2e3a5c53 100644 --- a/cpp/src/IceGrid/Database.cpp +++ b/cpp/src/IceGrid/Database.cpp @@ -217,7 +217,7 @@ Database::Database(const Ice::ObjectAdapterPtr& registryAdapter, _serverCache(_communicator, _instanceName, _nodeCache, _adapterCache, _objectCache, _allocatableObjectCache), _dbLock(_communicator->getProperties()->getProperty("IceGrid.Registry.LMDB.Path") + "/icedb.lock"), _env(_communicator->getProperties()->getProperty("IceGrid.Registry.LMDB.Path"), 8, - _communicator->getProperties()->getPropertyAsIntWithDefault("IceGrid.Registry.LMDB.MapSize", 100) *1024*1024), + _communicator->getProperties()->getPropertyAsInt("IceGrid.Registry.LMDB.MapSize") * 1024 * 1024), _pluginFacade(RegistryPluginFacadeIPtr::dynamicCast(getRegistryPluginFacade())), _lock(0) { |