Skip to content

Commit feb6a80

Browse files
committed
Add FullPruningThresholdMb
1 parent 3750042 commit feb6a80

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

install/scripts/start-ec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ if [ "$CLIENT" = "nethermind" ]; then
169169
--JsonRpc.WebSocketsPort ${EC_WS_PORT:-8546} \
170170
--JsonRpc.JwtSecretFile=/secrets/jwtsecret \
171171
--Pruning.FullPruningTrigger=VolumeFreeSpace \
172-
--Pruning.FullPruningThresholdMb=307200 \
172+
--Pruning.FullPruningThresholdMb=$RP_NETHERMIND_FULL_PRUNING_THRESHOLD_MB \
173173
--Pruning.FullPruningCompletionBehavior AlwaysShutdown \
174174
--Pruning.FullPruningMaxDegreeOfParallelism 0 \
175175
--Pruning.FullPruningMemoryBudgetMb=$RP_NETHERMIND_FULL_PRUNE_MEMORY_BUDGET \

install/templates/eth1.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ services:
4646
- RP_NETHERMIND_ADDITIONAL_MODULES={{.Nethermind.AdditionalModules}}
4747
- RP_NETHERMIND_ADDITIONAL_URLS={{.Nethermind.AdditionalUrls}}
4848
- RP_NETHERMIND_FULL_PRUNE_MEMORY_BUDGET={{.Nethermind.FullPruneMemoryBudget}}
49+
- RP_NETHERMIND_FULL_PRUNING_THRESHOLD_MB={{.Nethermind.FullPruningThresholdMb}}
4950
{{- else if eq .ExecutionClient.String "geth"}}
5051
- RP_GETH_ENABLE_PBSS={{.Geth.EnablePbss}}
5152
{{- end}}

0 commit comments

Comments
 (0)