mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-22 07:53:38 +01:00
docs(storage): Add documentation for storage.caching
This commit is contained in:
parent
9de6334f21
commit
a044f1d274
11
README.md
11
README.md
@ -247,11 +247,12 @@ Here are some examples of conditions you can use:
|
|||||||
|
|
||||||
|
|
||||||
### Storage
|
### Storage
|
||||||
| Parameter | Description | Default |
|
| Parameter | Description | Default |
|
||||||
|:---------------|:-------------------------------------------------------------------------------|:-----------|
|
|:------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------|:-----------|
|
||||||
| `storage` | Storage configuration | `{}` |
|
| `storage` | Storage configuration | `{}` |
|
||||||
| `storage.path` | Path to persist the data in. Only supported for types `sqlite` and `postgres`. | `""` |
|
| `storage.path` | Path to persist the data in. Only supported for types `sqlite` and `postgres`. | `""` |
|
||||||
| `storage.type` | Type of storage. Valid types: `memory`, `sqlite`, `postgres`. | `"memory"` |
|
| `storage.type` | Type of storage. Valid types: `memory`, `sqlite`, `postgres`. | `"memory"` |
|
||||||
|
| `storage.caching` | Whether to use write-through caching. Improves loading time for large dashboards. <br />Only supported if `storage.type` is `sqlite` or `postgres` | `false` |
|
||||||
|
|
||||||
- If `storage.type` is `memory` (default):
|
- If `storage.type` is `memory` (default):
|
||||||
```yaml
|
```yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user