diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-05-15 09:54:08 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-05-15 09:54:08 +0300 |
| commit | b56495cd0d4f6bb310ca4e85a32df66d4813fea6 (patch) | |
| tree | be7cfcd9b85c52edd51f6f944dd2ba0c4aa1fa1e /benchmark_throughput.py | |
| parent | 90715bbbd02efef5fe7d2a8581f043d10498cdde (diff) | |
Rename node_name to node_id
Diffstat (limited to 'benchmark_throughput.py')
| -rw-r--r-- | benchmark_throughput.py | 2 |
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 |
