From a965f405e6eca196eac8762c628912ec1a619d04 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Wed, 14 Aug 2024 13:58:46 +0100 Subject: [PATCH] chore: fix connection monitor property --- packages/libp2p/src/connection-monitor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/libp2p/src/connection-monitor.ts b/packages/libp2p/src/connection-monitor.ts index 7dcf9176f5..dbd65c9124 100644 --- a/packages/libp2p/src/connection-monitor.ts +++ b/packages/libp2p/src/connection-monitor.ts @@ -85,7 +85,7 @@ export class ConnectionMonitor implements Startable { }) const stream = await conn.newStream('/ipfs/ping/1.0.0', { signal, - runOnTransientConnection: true + runOnLimitedConnection: true }) const bs = byteStream(stream) start = Date.now()