Skip to content

Commit

Permalink
docs: indentation of titles
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Feb 29, 2024
1 parent 2783fb8 commit 6a35e83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,21 @@ when request comes with the `Host` header set to `trustless-gateway.link`.

Default: none (`Host` is ignored and gateway at `127.0.0.1` supports both deserialized and verifiable response types)

## `RAINBOW_GC_INTERVAL`
### `RAINBOW_GC_INTERVAL`

The interval at which the garbage collector will be called. This is given as a string that corresponds to the duration of the interval. Set 0 to disable.

Default: `60m`

## `RAINBOW_GC_THRESHOLD`
### `RAINBOW_GC_THRESHOLD`

The threshold of how much free space one wants to always have available on disk. This is used with the periodic garbage collector.

When the periodic GC runs, it checks for the total and available space on disk. If the available space is larger than the threshold, the GC is not called. Otherwise, the GC is asked to remove how many bytes necessary such that the threshold of available space on disk is met.

Default: `0.3` (always keep 30% of the disk available)

## `RAINBOW_IPNS_MAX_CACHE_TTL`
### `RAINBOW_IPNS_MAX_CACHE_TTL`

When set, it defines the upper bound limit (in ms) of how long a `/ipns/{id}`
lookup result will be cached and read from cache before checking for updates.
Expand Down

0 comments on commit 6a35e83

Please sign in to comment.