Skip to content

Commit

Permalink
update worker index properly (MystenLabs#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

0 comments on commit 5846feb

Please sign in to comment.