Skip to content

docs: clarify threshold behavior for streams - #437

Merged
Tony133 merged 1 commit into
fastify:mainfrom
Ahmad-Mosha:docs/434-threshold-streams
Oct 14, 2026
Merged

Tony133 merged 1 commit into
fastify:mainfrom
Ahmad-Mosha:docs/434-threshold-streams

Conversation

@Ahmad-Mosha

@Ahmad-Mosha Ahmad-Mosha commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Clarify that threshold applies to buffered payloads, such as strings and Buffers. Stream payloads bypass the size check and can be compressed below the threshold.

Closes #434

Validation:

  • npm test: passed.
  • npm run lint: passed.
  • npm run benchmark --if-present: exited with code 1 because the benchmark rejected noisy measurements under high system load.

Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: clarify threshold does not apply to streams

2 participants