Skip to content

Commit 4a1d5ca

Browse files
committed
Make notification and cross chain queue sizes grow with network size
1 parent ed0ddca commit 4a1d5ca

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

kubernetes/linera-validator/templates/shards.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,13 @@ spec:
113113
--storage {{ .Values.storage | quote }} \
114114
--server /config/server.json \
115115
--shard $ORDINAL \
116-
--storage-replication-factor {{ .Values.storageReplicationFactor | quote }}
116+
--storage-replication-factor {{ .Values.storageReplicationFactor | quote }} \
117+
{{- if .Values.crossChainQueueSize }}
118+
--cross-chain-queue-size {{ .Values.crossChainQueueSize }}
119+
{{- end }}
120+
{{- if .Values.notificationQueueSize }}
121+
--notification-queue-size {{ .Values.notificationQueueSize }}
122+
{{- end }}
117123
env:
118124
- name: RUST_LOG
119125
value: {{ .Values.logLevel }}

kubernetes/linera-validator/values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ numProxies: 1
3131
# Set to empty string to use default Tokio thread count
3232
serverTokioThreads: ""
3333

34+
# Cross-chain message queue size (default in binary is 1000)
35+
# Set to empty string to use default
36+
crossChainQueueSize: ""
37+
38+
# Notification queue size for proxy notifications (default in binary is 1000)
39+
# Set to empty string to use default
40+
notificationQueueSize: ""
41+
3442
# ============================================================================
3543
# Storage Configuration
3644
# ============================================================================

0 commit comments

Comments
 (0)