Enable websocket coroutines

This commit is contained in:
Miguel Portilla
2015-09-18 14:52:07 -04:00
committed by Nik Bougalis
parent 0c05bd3def
commit d6b9cfcc34
2 changed files with 3 additions and 3 deletions

View File

@@ -242,7 +242,8 @@ Json::Value PathRequest::doCreate (
if (parseJson (value) != PFR_PJ_INVALID)
{
valid = isValid (cache);
status = valid ? doUpdate(cache, true) : jvStatus;
if (! hasCompletion())
status = valid ? doUpdate(cache, true) : jvStatus;
}
else
{

View File

@@ -82,8 +82,7 @@ Json::Value doRipplePathFind (RPC::Context& context)
Json::Value jvResult;
if (true || // TODO MPORTILLA temp fix to disable broken websocket coroutines
context.app.config().RUN_STANDALONE ||
if (context.app.config().RUN_STANDALONE ||
context.params.isMember(jss::ledger) ||
context.params.isMember(jss::ledger_index) ||
context.params.isMember(jss::ledger_hash))