mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Transaction and ledger cache sizes were swapped.
This commit is contained in:
@@ -361,9 +361,9 @@ void Application::setup()
|
||||
(theConfig.getSize(siHashNodeDBCache) * 1024)));
|
||||
|
||||
theApp->getLedgerDB()->getDB()->executeSQL(boost::str(boost::format("PRAGMA cache_size=-%d;") %
|
||||
(theConfig.getSize(siTxnDBCache) * 1024)));
|
||||
theApp->getTxnDB()->getDB()->executeSQL(boost::str(boost::format("PRAGMA cache_size=-%d;") %
|
||||
(theConfig.getSize(siLgrDBCache) * 1024)));
|
||||
theApp->getTxnDB()->getDB()->executeSQL(boost::str(boost::format("PRAGMA cache_size=-%d;") %
|
||||
(theConfig.getSize(siTxnDBCache) * 1024)));
|
||||
|
||||
//
|
||||
// Allow peer connections.
|
||||
|
||||
Reference in New Issue
Block a user