Skip to content

Commit

Permalink
chore: Fix roundrobin topology (#112)
Browse files Browse the repository at this point in the history
* web3run.js adjustments

* chore: workaround for round robin topology bug
  • Loading branch information
meph authored Oct 12, 2023
1 parent 2c0644d commit 38fdace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gateway/aqua/rpc.aqua
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ func roundRobin(uris: []string, method: string, jsonArgs: []string, counterServi
providerNumber = requestNumber % uris.length
provider = uris[providerNumber]
result <<- callOnWorker(worker, provider, method, jsonArgs, callFunc)
Op.noop() -- dirty hack
on INIT_PEER_ID:
Logger.logWorker(worker)
Logger.logCall(uris[providerNumber])
Expand Down

0 comments on commit 38fdace

Please sign in to comment.