Speed up downloads by combining multiple network connections in parallel
TypeScript bandwidth-aggregationcross-platformdesktop-appdownloaderdownloadmanagerlinuxmacosmulticonnectionparallel-downloadswindows
Count a download that finishes between the two lookups once in E2E checks
Anmol Kapilb6b263a97c1c
diff --git a/e2e/fixtures.ts b/e2e/fixtures.tsindex c1f3915..1c164bb 100644--- a/e2e/fixtures.ts+++ b/e2e/fixtures.ts@@ -306,7 +306,11 @@ export class PlexoApp {? { ...entry, blocks: [], streams: [] }: { ...entry, pieces: [], peers: [] }})- return [...running, ...finished].sort((a, b) => a.startedAt - b.startedAt)+ // One that finished between the two calls is in both: history has its final state.+ const done = new Set(finished.map((state) => state.id))+ return [...running.filter((state) => !done.has(state.id)), ...finished].sort(+ (a, b) => a.startedAt - b.startedAt+ )}/** The download started last. */