Skip to content

Commit

Permalink
[bootstrap] fix: make metal config customizable
Browse files Browse the repository at this point in the history
  • Loading branch information
Wayonb committed Apr 7, 2024
1 parent 94d7602 commit 043d744
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/rest-gateway/rest.json.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"nodeMetadata": {{{toJson restNodeMetadata}}},

"metal": {
"cacheTtl": 300,
"sizeLimit": 10000000
"cacheTtl": {{{cacheTtl}}},
"sizeLimit": {{{sizeLimit}}}
}
}
2 changes: 1 addition & 1 deletion presets/mainnet/network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ minVotingKeyLifetime: 112
maxVotingKeyLifetime: 360
votingKeyDesiredLifetime: 360
votingKeyDesiredFutureLifetime: 60
lastKnownNetworkEpoch: 2234
lastKnownNetworkEpoch: 2235
stepDuration: 5m
maxBlockFutureTime: 300ms
maxAccountRestrictionValues: 100
Expand Down
2 changes: 2 additions & 0 deletions presets/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ restSSLKeyFileName: 'restSSL.key'
restSSLCertificateFileName: 'restSSL.crt'
restNodeMetadata:
_info: "Node metadata"
cacheTtl: 300
sizeLimit: 10000000
statisticsServicePeerFilter: ''
statisticsServicePeerLimit: 50
statisticsServiceRestFilter: suggested
Expand Down
2 changes: 1 addition & 1 deletion presets/testnet/network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ importanceGrouping: 180
votingSetGrouping: 720
votingKeyDesiredLifetime: 720
votingKeyDesiredFutureLifetime: 120
lastKnownNetworkEpoch: 1847
lastKnownNetworkEpoch: 1848
minVotingKeyLifetime: 28
maxVotingKeyLifetime: 720
stepDuration: 4m
Expand Down

0 comments on commit 043d744

Please sign in to comment.