Skip to content

Commit 014e545

Browse files
committed
docs: updated limits doc re: closing connections (#1509)
1 parent 73deff5 commit 014e545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/LIMITS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const node = await createLibp2pNode({
5353

5454
## Closing connections
5555

56-
When choosing connections to close the connection manager sorts the list of connections by the value derived from the tags given to each peer. The values of all tags are summed and connections with lower valued peers are eligible for closing first.
56+
When choosing connections to close the connection manager sorts the list of connections by the value derived from the tags given to each peer. The values of all tags are summed and connections with lower valued peers are eligible for closing first. If there are tags with equal values, the shortest-lived connection will be closed first.
5757

5858
```js
5959
// tag a peer

0 commit comments

Comments
 (0)