Don't hold the master lock.

This commit is contained in:
JoelKatz
2013-07-23 13:06:52 -07:00
parent 96e1d1dd57
commit 882af7a78e

View File

@@ -1751,6 +1751,8 @@ Json::Value RPCHandler::doConsensusInfo (Json::Value, LoadType* loadType, Scoped
Json::Value RPCHandler::doFetchInfo (Json::Value jvParams, LoadType* loadType, ScopedLock& MasterLockHolder)
{
MasterLockHolder.unlock ();
Json::Value ret (Json::objectValue);
if (jvParams.isMember("clear") && jvParams["clear"].asBool())