Skip to content

Commit 043d744

Browse files
committed
[bootstrap] fix: make metal config customizable
1 parent 94d7602 commit 043d744

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

config/rest-gateway/rest.json.mustache

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"nodeMetadata": {{{toJson restNodeMetadata}}},
8585

8686
"metal": {
87-
"cacheTtl": 300,
88-
"sizeLimit": 10000000
87+
"cacheTtl": {{{cacheTtl}}},
88+
"sizeLimit": {{{sizeLimit}}}
8989
}
9090
}

presets/mainnet/network.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ minVotingKeyLifetime: 112
2727
maxVotingKeyLifetime: 360
2828
votingKeyDesiredLifetime: 360
2929
votingKeyDesiredFutureLifetime: 60
30-
lastKnownNetworkEpoch: 2234
30+
lastKnownNetworkEpoch: 2235
3131
stepDuration: 5m
3232
maxBlockFutureTime: 300ms
3333
maxAccountRestrictionValues: 100

presets/shared.yml

+2
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ restSSLKeyFileName: 'restSSL.key'
236236
restSSLCertificateFileName: 'restSSL.crt'
237237
restNodeMetadata:
238238
_info: "Node metadata"
239+
cacheTtl: 300
240+
sizeLimit: 10000000
239241
statisticsServicePeerFilter: ''
240242
statisticsServicePeerLimit: 50
241243
statisticsServiceRestFilter: suggested

presets/testnet/network.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ importanceGrouping: 180
2222
votingSetGrouping: 720
2323
votingKeyDesiredLifetime: 720
2424
votingKeyDesiredFutureLifetime: 120
25-
lastKnownNetworkEpoch: 1847
25+
lastKnownNetworkEpoch: 1848
2626
minVotingKeyLifetime: 28
2727
maxVotingKeyLifetime: 720
2828
stepDuration: 4m

0 commit comments

Comments
 (0)