Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,12 @@ For documentation on implementing custom toxics, see [CREATING_TOXICS.md](./CREA

#### latency

Add a delay to all data going through the proxy. The delay is equal to `latency` +/- `jitter`.
Add a delay to data on a single proxy stream. The delay is equal to `latency` +/- `jitter`.

Toxics are directional: by default a latency toxic is attached to the `downstream`
stream (`server -> client`). It does not delay the opposite direction unless you
also add a latency toxic with `stream=upstream`. For a symmetric round-trip delay,
add latency on both streams.

Attributes:

Expand Down
Loading