Skip to content

Commit 8e863ff

Browse files
Merge pull request #669 from dao-xyz/codex/fix-seeder-probe-target
fix(file-share): use consistent seeder probe target
2 parents da70154 + ee00ef9 commit 8e863ff

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/file-share/templates/seeder-probe.e2e.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ const RESULT_FILE = process.env.PW_RESULT_FILE;
1515
const READY_TIMEOUT_MS = Number(process.env.PW_READY_TIMEOUT_MS || "180000");
1616
const SAMPLE_MS = Number(process.env.PW_SAMPLE_MS || "15000");
1717
const SAMPLE_COUNT = Number(process.env.PW_SAMPLE_COUNT || "4");
18-
const TARGET_SEEDERS = Number(
19-
process.env.PW_TARGET_SEEDERS || (MODE === "adaptive" ? "2" : "1"),
20-
);
18+
const TARGET_SEEDERS = Number(process.env.PW_TARGET_SEEDERS || "2");
2119

2220
if (!["local", "remote"].includes(NETWORK_MODE)) {
2321
throw new Error(`Unsupported PW_NETWORK_MODE='${NETWORK_MODE}'`);

0 commit comments

Comments
 (0)