使用字节数配置 NATS Account 配额
yaml / yaml (pull_request) Successful in 11s

This commit is contained in:
2026-09-16 12:49:20 +00:00
parent 47042d4df4
commit 6078a06b99
+4 -4
View File
@@ -24,10 +24,10 @@ config:
password: "<< $NATS_SYS_PASSWORD >>"
CI:
jetstream:
# These values are rendered directly into nats.conf and therefore use
# NATS size syntax, not Kubernetes resource.Quantity syntax.
max_memory: 32M
max_file: 1G
# Account limits are JSON-encoded by config.merge. Use explicit byte
# counts so NATS receives integers rather than quoted size strings.
max_memory: 33554432
max_file: 1073741824
max_streams: 16
max_consumers: 64
max_bytes_required: true