aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark_throughput.py
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark_throughput.py')
-rw-r--r--benchmark_throughput.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark_throughput.py b/benchmark_throughput.py
index 8e6be43..b21c28a 100644
--- a/benchmark_throughput.py
+++ b/benchmark_throughput.py
@@ -8,7 +8,7 @@ from femtoqueue import FemtoQueue
def run_benchmark(duration_seconds: int, payload_size: int = 100):
print(f"Running throughput benchmark for {duration_seconds} sec. See -h for help.")
tmpdir = tempfile.mkdtemp()
- q = FemtoQueue(data_dir=tmpdir, node_name="node1")
+ q = FemtoQueue(data_dir=tmpdir, node_id="node1")
payload = b"x" * payload_size
total_count = 0