mirror of
https://github.com/codex-storage/bittorrent-benchmarks.git
synced 2025-02-10 02:04:13 +00:00
reword static experiment
This commit is contained in:
parent
a286dc5e2a
commit
586932f67e
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user