Skip to content

Commit

Permalink
update fab seed (MystenLabs#866)
Browse files Browse the repository at this point in the history
  • Loading branch information
arun-koshy authored Aug 31, 2022
1 parent 918750e commit 9359623
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions narwhal/benchmark/benchmark/seed.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def run(self, starting_data_port):
transactions_address_port = starting_data_port
for _ in range(nodes):
for worker_id in range(workers):
transactions_address = f'http://127.0.0.1:{transactions_address_port}/'
transactions_address = f'http://0.0.0.0:{transactions_address_port}/'
transactions_address_port += 1
Print.info(transactions_address)

Expand All @@ -55,7 +55,7 @@ def run(self, starting_data_port):
sleep(0.5) # Removing the store may take time.

# Recompile the latest code.
cmd = CommandMaker.compile().split()
cmd = CommandMaker.compile(mem_profiling=self.mem_profile)
subprocess.run(cmd, check=True, cwd=PathMaker.node_crate_path())

# Create alias for the client and nodes binary.
Expand Down
1 change: 1 addition & 0 deletions narwhal/benchmark/fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def seed(ctx, starting_data_port):
'rate': 50_000,
'tx_size': 512,
'duration': 20,
'mem_profiling': False
}
try:
SeedData(bench_params).run(int(starting_data_port))
Expand Down

0 comments on commit 9359623

Please sign in to comment.