Skip to content

Commit

Permalink
Update node config (#1668)
Browse files Browse the repository at this point in the history
  • Loading branch information
sherry-x authored Jun 30, 2022
1 parent 5aec932 commit e358a61
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions docker/compose/aptos-node/validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ consensus:
waypoint:
from_file: /opt/aptos/genesis/waypoint.txt
identity_blob_path: /opt/aptos/genesis/validator-identity.yaml
quorum_store_poll_count: 1

execution:
genesis_file_location: "/opt/aptos/genesis/genesis.blob"
Expand Down
6 changes: 3 additions & 3 deletions terraform/helm/aptos-node/files/configs/validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ consensus:
from_file: /opt/aptos/genesis/waypoint.txt
identity_blob_path: /opt/aptos/genesis/validator-identity.yaml
sync_only: {{ $.Values.validator.config.sync_only | default false}}
{{- if $.Values.validator.config.mempool_poll_count }}
mempool_poll_count: {{ $.Values.validator.config.mempool_poll_count }}
{{- end }}
{{- if $.Values.validator.config.round_initial_timeout_ms }}
round_initial_timeout_ms: {{ $.Values.validator.config.round_initial_timeout_ms }}
{{- end }}
{{- if $.Values.validator.config.max_block_size }}
max_block_size: {{ $.Values.validator.config.max_block_size}}
{{- end }}
{{- if $.Values.validator.config.quorum_store_poll_count }}
quorum_store_poll_count: {{ $.Values.validator.config.quorum_store_poll_count}}
{{- end }}

state_sync:
state_sync_driver:
Expand Down
6 changes: 3 additions & 3 deletions terraform/helm/aptos-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ validator:
sync_only: false
concurrency_level: 4
enable_state_sync_v2: true
mempool_poll_count:
round_initial_timeout_ms:
quorum_store_poll_count: 1
ledger_prune_window: 10000000
state_store_prune_window: 1000000
pruning_batch_size: 10000
Expand Down Expand Up @@ -93,14 +93,14 @@ service:
type: LoadBalancer
loadBalancerSourceRanges:
enableRestApi: false
enableMetricsPort: false
enableMetricsPort: true
# NOTE: these values apply for all fullnode groups
fullnode:
external:
type: LoadBalancer
loadBalancerSourceRanges:
enableRestApi: true
enableMetricsPort: false
enableMetricsPort: true

serviceAccount:
# Specifies whether a service account should be created
Expand Down

0 comments on commit e358a61

Please sign in to comment.