mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 05:55:51 +00:00
Start adding support for concurrent I/O.
This commit is contained in:
@@ -1384,7 +1384,9 @@ Json::Value RPCHandler::doCommand(const std::string& command, Json::Value& param
|
||||
return rpcError(rpcNO_NETWORK);
|
||||
}
|
||||
// XXX Should verify we have a current ledger.
|
||||
else if ((commandsA[i].iOptions & optCurrent) && false)
|
||||
|
||||
boost::recursive_mutex::scoped_lock sl(theApp->getMasterLock());
|
||||
if ((commandsA[i].iOptions & optCurrent) && false)
|
||||
{
|
||||
return rpcError(rpcNO_CURRENT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user