From 1407aedbf3ce927066090a05ac807309e351ca5d Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sun, 16 Jun 2013 15:30:16 -0700 Subject: [PATCH] Don't arm the deadlock detector in standalone mode. --- src/cpp/ripple/ripple_Application.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cpp/ripple/ripple_Application.cpp b/src/cpp/ripple/ripple_Application.cpp index 17554cd9a0..1e91f8db71 100644 --- a/src/cpp/ripple/ripple_Application.cpp +++ b/src/cpp/ripple/ripple_Application.cpp @@ -604,7 +604,9 @@ void Application::run () boost::thread (boost::bind (runIO, boost::ref (mIOService))).detach (); } - theApp->getLoadManager ().arm (); + if (!theConfig.RUN_STANDALONE) + theApp->getLoadManager ().arm (); + mIOService.run (); // This blocks if (mWSPublicDoor)