Skip to content

Commit

Permalink
Update garbage-collection.md (#4232)
Browse files Browse the repository at this point in the history
Add example config for a storage-optimized GC setting, provided by ulf
  • Loading branch information
nikita-fuchs committed Jan 22, 2024
1 parent 47ae2ad commit fcf7dd7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/garbage-collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ has been overwritten at some point.

## Configuration

An example setting for a very compact chain state size of around ~40 GB in 2023 would be:
```yaml
chain:
garbage_collection:
during_sync: true
history: 500
```
Please note that this might come with sync performance implications, as the garbage collection is performed in addition to the sync.


Garbage collection can be customized with the following configuration options:

### `chain:garbage_collection:enabled`
Expand Down

0 comments on commit fcf7dd7

Please sign in to comment.