File tree Expand file tree Collapse file tree
kubernetes/linera-validator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,6 +130,15 @@ spec:
130130 --storage scylladb:tcp:scylla-client.scylla.svc.cluster.local:9042 \
131131 --storage-replication-factor {{ .Values.storageReplicationFactor | quote }} \
132132 --id "$ORDINAL" \
133+ {{- if .Values.blobCacheSize }}
134+ --blob-cache-size {{ .Values.blobCacheSize }} \
135+ {{- end }}
136+ {{- if .Values.certificateCacheSize }}
137+ --certificate-cache-size {{ .Values.certificateCacheSize }} \
138+ {{- end }}
139+ {{- if .Values.confirmedBlockCacheSize }}
140+ --confirmed-block-cache-size {{ .Values.confirmedBlockCacheSize }} \
141+ {{- end }}
133142 /config/server.json
134143 env :
135144 - name : RUST_LOG
Original file line number Diff line number Diff line change @@ -140,6 +140,15 @@ spec:
140140 {{- if .Values.notificationQueueSize }}
141141 --notification-queue-size {{ .Values.notificationQueueSize }}
142142 {{- end }}
143+ {{- if .Values.blobCacheSize }}
144+ --blob-cache-size {{ .Values.blobCacheSize }}
145+ {{- end }}
146+ {{- if .Values.certificateCacheSize }}
147+ --certificate-cache-size {{ .Values.certificateCacheSize }}
148+ {{- end }}
149+ {{- if .Values.confirmedBlockCacheSize }}
150+ --confirmed-block-cache-size {{ .Values.confirmedBlockCacheSize }}
151+ {{- end }}
143152 env :
144153 - name : RUST_LOG
145154 value : {{ .Values.logLevel }}
Original file line number Diff line number Diff line change @@ -62,6 +62,11 @@ crossChainQueueSize: ""
6262# Set to empty string to use default
6363notificationQueueSize : " "
6464
65+ # Application-level cache sizes (default in binary is 1000)
66+ blobCacheSize : " "
67+ certificateCacheSize : " "
68+ confirmedBlockCacheSize : " "
69+
6570# ============================================================================
6671# Storage Configuration
6772# ============================================================================
You can’t perform that action at this time.
0 commit comments