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

View File

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