Skip to content

Commit

Permalink
Add FullPruningThresholdMb
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfornax committed Feb 10, 2024
1 parent 3750042 commit feb6a80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion install/scripts/start-ec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ if [ "$CLIENT" = "nethermind" ]; then
--JsonRpc.WebSocketsPort ${EC_WS_PORT:-8546} \
--JsonRpc.JwtSecretFile=/secrets/jwtsecret \
--Pruning.FullPruningTrigger=VolumeFreeSpace \
--Pruning.FullPruningThresholdMb=307200 \
--Pruning.FullPruningThresholdMb=$RP_NETHERMIND_FULL_PRUNING_THRESHOLD_MB \
--Pruning.FullPruningCompletionBehavior AlwaysShutdown \
--Pruning.FullPruningMaxDegreeOfParallelism 0 \
--Pruning.FullPruningMemoryBudgetMb=$RP_NETHERMIND_FULL_PRUNE_MEMORY_BUDGET \
Expand Down
1 change: 1 addition & 0 deletions install/templates/eth1.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ services:
- RP_NETHERMIND_ADDITIONAL_MODULES={{.Nethermind.AdditionalModules}}
- RP_NETHERMIND_ADDITIONAL_URLS={{.Nethermind.AdditionalUrls}}
- RP_NETHERMIND_FULL_PRUNE_MEMORY_BUDGET={{.Nethermind.FullPruneMemoryBudget}}
- RP_NETHERMIND_FULL_PRUNING_THRESHOLD_MB={{.Nethermind.FullPruningThresholdMb}}
{{- else if eq .ExecutionClient.String "geth"}}
- RP_GETH_ENABLE_PBSS={{.Geth.EnablePbss}}
{{- end}}
Expand Down

0 comments on commit feb6a80

Please sign in to comment.