Skip to content

Commit

Permalink
Setting max memory and storage limit to unlimited for JetStreams
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpert committed Jul 23, 2023
1 parent 899d425 commit 0a76412
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stream/embedded_nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ func startEmbeddedServer(nodeName string) (*embeddedNats, error) {
Port: -1,
NoSigs: true,
JetStream: true,
JetStreamMaxMemory: 1 << 20,
JetStreamMaxStore: 1 << 30,
JetStreamMaxMemory: -1,
JetStreamMaxStore: -1,
Cluster: server.ClusterOpts{
Name: "e-marmot",
},
Expand Down

0 comments on commit 0a76412

Please sign in to comment.