Skip to content

Commit

Permalink
docs: fix threshold documentation to match implementation
Browse files Browse the repository at this point in the history
closes #144
  • Loading branch information
dougwilson committed Jul 15, 2018
1 parent fd7a4d4 commit 2742fe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ is not set appropriately.
##### threshold

The byte threshold for the response body size before compression is considered
for the response, defaults to `1kb`. This is a number of bytes, any string
accepted by the [bytes](https://www.npmjs.com/package/bytes) module, or `false`.
for the response, defaults to `1kb`. This is a number of bytes or any string
accepted by the [bytes](https://www.npmjs.com/package/bytes) module.

**Note** this is only an advisory setting; if the response size cannot be determined
at the time the response headers are written, then it is assumed the response is
Expand Down

0 comments on commit 2742fe9

Please sign in to comment.