Skip to content

Commit 73b6b78

Browse files
committed
raise disconnect threshold
1 parent ce0fe4a commit 73b6b78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/replication-server/src/libp2p.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export const options: Libp2pOptions<ServiceMap> = {
7373

7474
peerDiscovery: bootstrapList.length > 0 ? [bootstrap({ list: bootstrapList })] : [],
7575

76-
streamMuxers: [mplex()],
76+
streamMuxers: [mplex({ disconnectThreshold: 500 })],
7777
connectionEncryption: [noise()],
7878
metrics: prometheusMetrics(),
7979
services: {

0 commit comments

Comments
 (0)