mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Enable websocket coroutines
This commit is contained in:
committed by
Nik Bougalis
parent
0c05bd3def
commit
d6b9cfcc34
@@ -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
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user