Skip to content

Commit

Permalink
Make JsonRpcHttpService to not attend requests in order (hyperledger#…
Browse files Browse the repository at this point in the history
…4099)

Signed-off-by: Diego López León <dieguitoll@gmail.com>
  • Loading branch information
diega authored and eum602 committed Nov 3, 2023
1 parent 4b7b091 commit a336eb2
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,15 +339,17 @@ private Router buildRouter() {
authenticationService.get(),
config.getNoAuthRpcApis()),
rpcMethods),
tracer));
tracer),
false);
} else {
mainRoute.blockingHandler(
HandlerFactory.jsonRpcExecutor(
new JsonRpcExecutor(
new TimedJsonRpcProcessor(
new TracedJsonRpcProcessor(new BaseJsonRpcProcessor()), requestTimer),
rpcMethods),
tracer));
tracer),
false);
}

if (authenticationService.isPresent()) {
Expand Down

0 comments on commit a336eb2

Please sign in to comment.