Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Commit

Permalink
update worker index properly (#856)
Browse files Browse the repository at this point in the history
  • Loading branch information
arun-koshy authored Aug 27, 2022
1 parent 58e6954 commit 5846feb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Docker/scripts/gen.workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def main():
for i, k in enumerate(keys):
workers = {}
port = starting_port
for i in range(args.nw):
workers[i] = {
for j in range(args.nw):
workers[j] = {
"primary_to_worker": "/dns/worker_{:02d}/tcp/{}/http".format(i, port),
"transactions": "/dns/worker_{:02d}/tcp/{}/http".format(i, port+1),
"worker_to_worker": "/dns/worker_{:02d}/tcp/{}/http".format(i, port+2)
Expand Down

1 comment on commit 5846feb

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bench results

�[92mStarting local benchmark�[0m
Setting up testbed...
About to run ['cargo', 'build', '--quiet', '--release', '--features', 'benchmark']...
Running benchmark (20 sec)...
Parsing logs...

�[1m�[91mERROR�[0m: Failed to run benchmark

Caused by:
0: <class 'benchmark.logs.ParseError'>
1: Primary(s) panicked

PR to merge 5846feb ->

Please sign in to comment.