diff --git a/kubernetes/linera-validator/templates/shards.yaml b/kubernetes/linera-validator/templates/shards.yaml index 289c6e150357..49ecd987f6bc 100644 --- a/kubernetes/linera-validator/templates/shards.yaml +++ b/kubernetes/linera-validator/templates/shards.yaml @@ -133,7 +133,13 @@ spec: --storage {{ .Values.storage | quote }} \ --server /config/server.json \ --shard $ORDINAL \ - --storage-replication-factor {{ .Values.storageReplicationFactor | quote }} + --storage-replication-factor {{ .Values.storageReplicationFactor | quote }} \ + {{- if .Values.crossChainQueueSize }} + --cross-chain-queue-size {{ .Values.crossChainQueueSize }} + {{- end }} + {{- if .Values.notificationQueueSize }} + --notification-queue-size {{ .Values.notificationQueueSize }} + {{- end }} env: - name: RUST_LOG value: {{ .Values.logLevel }} diff --git a/kubernetes/linera-validator/values.yaml b/kubernetes/linera-validator/values.yaml index 995ab53d71ce..ea35cf6cda0d 100644 --- a/kubernetes/linera-validator/values.yaml +++ b/kubernetes/linera-validator/values.yaml @@ -54,6 +54,14 @@ proxyResources: {} # Set to empty string to use default Tokio thread count serverTokioThreads: "" +# Cross-chain message queue size (default in binary is 1000) +# Set to empty string to use default +crossChainQueueSize: "" + +# Notification queue size for proxy notifications (default in binary is 1000) +# Set to empty string to use default +notificationQueueSize: "" + # ============================================================================ # Storage Configuration # ============================================================================