mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-07-23 13:02:58 +00:00
Keep P2P consumers on the current transport
This commit is contained in:
@@ -18,7 +18,7 @@ COPY src/apps/webpeer/package.json ./src/apps/webpeer/package.json
|
||||
RUN npm ci
|
||||
|
||||
COPY . .
|
||||
RUN npm run build -w self-hosted-livesync-cli
|
||||
RUN LIVESYNC_CLI_TEST_SUPPORT=1 npm run build -w self-hosted-livesync-cli
|
||||
|
||||
WORKDIR /workspace/src/apps/cli/testdeno
|
||||
|
||||
@@ -28,7 +28,9 @@ RUN deno cache --lock=deno.lock \
|
||||
bench-p2p-split-node.ts \
|
||||
bench-p2p.ts \
|
||||
bench-couchdb.ts \
|
||||
test-p2p-sync.ts
|
||||
test-p2p-sync.ts \
|
||||
test-p2p-replicator-replacement.ts \
|
||||
test-p2p-relay-disconnect.ts
|
||||
|
||||
COPY test/bench-network/run-bench.sh /usr/local/bin/run-livesync-bench
|
||||
COPY src/apps/cli/testdeno/run-cli-e2e.sh /usr/local/bin/run-livesync-cli-e2e
|
||||
|
||||
@@ -97,7 +97,9 @@ services:
|
||||
BENCH_PEERS_TIMEOUT: ${BENCH_PEERS_TIMEOUT:-60}
|
||||
LIVESYNC_P2P_RELAY_READY_TIMEOUT_MS: ${LIVESYNC_P2P_RELAY_READY_TIMEOUT_MS:-60000}
|
||||
BENCH_LIVESYNC_TEST_TEE: ${BENCH_LIVESYNC_TEST_TEE:-0}
|
||||
CLI_E2E_TASK: ${CLI_E2E_TASK:-test:p2p-sync}
|
||||
LIVESYNC_CLI_DEBUG: ${LIVESYNC_CLI_DEBUG:-0}
|
||||
LIVESYNC_CLI_VERBOSE: ${LIVESYNC_CLI_VERBOSE:-0}
|
||||
CLI_E2E_TASK: ${CLI_E2E_TASK:-test:p2p:ci}
|
||||
RELAY: ${RELAY:-ws://nostr-relay:7777/}
|
||||
PEERS_TIMEOUT: ${PEERS_TIMEOUT:-20}
|
||||
SYNC_TIMEOUT: ${SYNC_TIMEOUT:-60}
|
||||
|
||||
Reference in New Issue
Block a user