diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9f2e47b7..6f1fa84bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -317,7 +317,7 @@ jobs: with: repository: 'oceanprotocol/ocean.js' path: 'ocean.js' - ref: feature/refactor_signatures + ref: main - name: Build ocean-js working-directory: ${{ github.workspace }}/ocean.js run: | diff --git a/src/components/P2P/index.ts b/src/components/P2P/index.ts index 1336a74ca..87ef1f5c1 100644 --- a/src/components/P2P/index.ts +++ b/src/components/P2P/index.ts @@ -437,6 +437,9 @@ export class OceanP2P extends EventEmitter { dialTimeout: config.p2pConfig.connectionsDialTimeout, maxConnections: config.p2pConfig.maxConnections, maxPeerAddrsToDial: config.p2pConfig.maxPeerAddrsToDial + }, + connectionMonitor: { + abortConnectionOnPingFailure: false } } if (config.p2pConfig.bootstrapNodes && config.p2pConfig.bootstrapNodes.length > 0) {