Skip to content

Commit

Permalink
Merge pull request #1213 from neo4j/5.x-econnreset-investigation
Browse files Browse the repository at this point in the history
Removal of duplicate error listener on socket
  • Loading branch information
MaxAake authored Aug 30, 2024
2 parents c922fdc + 6031c7f commit 6ad3e20
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/bolt-connection/src/channel/node/node-channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,6 @@ export default class NodeChannel {
self.onmessage(new ChannelBuffer(buffer))
}
})

self._conn.on('error', self._handleConnectionError)
self._conn.on('end', self._handleConnectionTerminated)

// Drain all pending messages
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,6 @@ export default class NodeChannel {
self.onmessage(new ChannelBuffer(buffer))
}
})

self._conn.on('error', self._handleConnectionError)
self._conn.on('end', self._handleConnectionTerminated)

// Drain all pending messages
Expand Down

0 comments on commit 6ad3e20

Please sign in to comment.