From d60490380404acd9fe6000486349455eae8986b4 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 11 Jun 2013 14:36:12 -0700 Subject: [PATCH] Transaction and ledger cache sizes were swapped. --- src/cpp/ripple/ripple_Application.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpp/ripple/ripple_Application.cpp b/src/cpp/ripple/ripple_Application.cpp index 40d98ebcdb..86c0af9f9a 100644 --- a/src/cpp/ripple/ripple_Application.cpp +++ b/src/cpp/ripple/ripple_Application.cpp @@ -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.