From 586932f67e47fa1810a0ae18952ae52573c2c2e9 Mon Sep 17 00:00:00 2001 From: gmega Date: Wed, 27 Nov 2024 11:31:40 -0300 Subject: [PATCH] reword static experiment --- benchmarks/core/experiments/static_experiment.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/benchmarks/core/experiments/static_experiment.py b/benchmarks/core/experiments/static_experiment.py index e286105..c114674 100644 --- a/benchmarks/core/experiments/static_experiment.py +++ b/benchmarks/core/experiments/static_experiment.py @@ -30,10 +30,10 @@ class StaticDisseminationExperiment(Generic[TNetworkHandle, TInitialMetadata], E ) with self.data as (meta, data): - handle = meta + meta_or_cid = meta for node in seeders: - handle = node.seed(data, handle) + meta_or_cid = node.seed(data, meta_or_cid) - handles = [node.leech(handle) for node in leechers] - for handle in handles: - handle.await_for_completion() + downloads = [node.leech(meta_or_cid) for node in leechers] + for download in downloads: + download.await_for_completion()