mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Disable RPC websocket coroutines
This commit is contained in:
committed by
Edward Hennis
parent
44e4a50050
commit
a65f692ab7
@@ -82,7 +82,8 @@ Json::Value doRipplePathFind (RPC::Context& context)
|
||||
|
||||
Json::Value jvResult;
|
||||
|
||||
if (getConfig().RUN_STANDALONE ||
|
||||
if (true || // TODO MPORTILLA temp fix to disable broken websocket coroutines
|
||||
getConfig().RUN_STANDALONE ||
|
||||
context.params.isMember(jss::ledger) ||
|
||||
context.params.isMember(jss::ledger_index) ||
|
||||
context.params.isMember(jss::ledger_hash))
|
||||
@@ -110,7 +111,9 @@ Json::Value doRipplePathFind (RPC::Context& context)
|
||||
{
|
||||
jvResult = context.app.getPathRequests().makeLegacyPathRequest (
|
||||
request, callback, lpLedger, context.params);
|
||||
callback();
|
||||
assert(callback);
|
||||
if (! request && callback)
|
||||
callback();
|
||||
});
|
||||
|
||||
if (request)
|
||||
|
||||
Reference in New Issue
Block a user