added max_ack_pending setting to js account limits (#2982)

* added max_ack_penind setting to js account limits

because of the addition, defaults now have to be set later (depend on
these new limits now)

also re-organized the code to closer track how stream create looks

Signed-off-by: Matthias Hanel <mh@synadia.com>
This commit is contained in:
Matthias Hanel
2022-03-31 14:17:16 -04:00
committed by GitHub
parent ee98a81469
commit 92f4dc986a
10 changed files with 223 additions and 92 deletions

2
go.mod
View File

@@ -5,7 +5,7 @@ go 1.17
require (
github.com/klauspost/compress v1.14.4
github.com/minio/highwayhash v1.0.2
github.com/nats-io/jwt/v2 v2.2.1-0.20220328222144-5efd4536dd5c
github.com/nats-io/jwt/v2 v2.2.1-0.20220330180145-442af02fd36a
github.com/nats-io/nats.go v1.13.1-0.20220318132711-e0e03e374228
github.com/nats-io/nkeys v0.3.0
github.com/nats-io/nuid v1.0.1