Merge pull request:使用字节数配置 NATS Account 配额
yaml / yaml (push) Successful in 10s

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