Skip to content

Commit 0b1548c

Browse files
committed
format
1 parent 82e966c commit 0b1548c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/product/relay/options.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ Settings to control Relay's health checks.
3737
After breaching one of the configured thresholds, Relay will
3838
return an `unhealthy` status from its health endpoint.
3939

40+
| key | type | value | description |
41+
| ----------------------- | ------- | --------------- |
4042
| health.max_memory_bytes | Integer | default: `null` | Maximum memory usage in bytes. |
4143
| health.max_memory_percent | Float | number between 0.0 and 1.0, default: 0.95 | Maximum memory usage as a percentage of available memory. |
4244
| probe_timeout_ms | Integer | default: 900 | Health check probe timeout in milliseconds.
@@ -78,8 +80,7 @@ These settings fine tune caching of project states.
7880
| spool.envelopes.path | String | default: `null` | The path to the spool file used to save envelopes to disk. If provided, enables on-disk spooling. Relay will create the directory structure if needed. Note that `~` is interpreted as a literal and not as the home directory. | |
7981
| spool.envelopes.max_disk_size | String | default: `500MB` | The maximum on-disk spool size. |
8082
| spool.envelopes.max_envelope_delay_secs | Integer | default: `24 * 60 * 60` (24h) | Maximum time between receiving the envelope and processing it. When envelopes spend too much time in the buffer (e.g. because their project cannot be loaded), they are dropped.
81-
| spool.envelopes.max_backpressure_memory_percent | Float | number between 0.0 and 1.0, default: 0.8 | The relative memory usage above which the buffer service will stop dequeueing envelopes. Only applies when `spool.envelopes.path` is set.
82-
This value should be lower than `health.max_memory_percent` to prevent flip-flopping. |
83+
| spool.envelopes.max_backpressure_memory_percent | Float | number between 0.0 and 1.0, default: 0.8 | The relative memory usage above which the buffer service will stop dequeueing envelopes. Only applies when `spool.envelopes.path` is set. This value should be lower than `health.max_memory_percent` to prevent flip-flopping. |
8384

8485
## Size Limits
8586

0 commit comments

Comments
 (0)