Skip to content

Commit

Permalink
docs: fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Oct 11, 2022
1 parent 25d935e commit 14acff5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/LIMITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

In order to prevent excessive resource consumption by a libp2p node it's important to understand limits are applied and how to tune them to the needs of your application.

## Table of contents
## Table of contents <!-- omit in toc -->

- [Connection limits](#connection-limits)
- [Inbound connection threshold](#inbound-connection-threshold)
- [Data transfer and Event Loop limits](#data-transfer-and-event-loop-limits)
- [Stream limits](#stream-limits)
- [Mplex](#mplex)
- [Yamux](#yamux)
- [Protocol limits](#protocol-limits)
- [Closing connections](#closing-connections)
- [Transport specific limits](#transport-specific-limits)
- [TCP](#tcp)
Expand Down Expand Up @@ -153,7 +154,7 @@ const node = await createLibp2pNode({
})
```

### Protocol limits
### Protocol limits

When registering listeners for custom protocols, the maximum number of simultaneously open inbound and outbound streams per-connection can be specified. If not specified these will default to 32 inbound streams and 64 outbound streams.

Expand Down

0 comments on commit 14acff5

Please sign in to comment.