Skip to content

Commit

Permalink
Fullpruning config values
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilchodola authored May 14, 2024
1 parent b214b48 commit a041fc9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions setup-wizard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,3 +164,32 @@ fields:
- "false"
default: "true"
required: true

- id: PruningTriggerType
target:
type: environment
name: NETHERMIND_PRUNINGCONFIG_FULLPRUNINGTRIGGER
service: nethermind
title: Full Pruning Trigger Type
description: >-
The full pruning trigger which accepts config values like:
Manual: Triggered manually with JsonRPC call. (default)
StateDbSize: Trigger when the state DB size is above the threshold.
VolumeFreeSpace: Trigger when the free disk space where the state DB is stored is below the threshold.
enum:
- "Manual"
- "StateDbSize"
- "VolumeFreeSpace"
default: "Manual"
required: true

- id: PruningThresholdMb
target:
type: environment
name: NETHERMIND_PRUNINGCONFIG_FULLPRUNINGTHRESHOLDMB
service: nethermind
title: Full Pruning Threshold in Mb
description: >-
The threshold, in MB, to trigger full pruning. Depends on Mode and FullPruningTrigger. Defaults to 256000.
default: "256000"
required: true

0 comments on commit a041fc9

Please sign in to comment.