Fix the init container script
@@ -120,8 +120,9 @@ async function createRelayConfig() {
const formattedConfigFile = tomlify.toToml(configFile, {
space: 2,
replace: (key, value) => {
- // Find keys that match exactly `Port` or end with `MetricsTick`.
- const matcher = /(^Port|MetricsTick)$/
+ // Find keys that match exactly `Port`, end with `MetricsTick`,
+ // or match exactly `HeadersBatchSize`.
+ const matcher = /(^Port|MetricsTick|^HeadersBatchSize)$/
return typeof key === "string" && key.match(matcher) ?
value.toFixed(0) :
