Skip to content

Commit

Permalink
fix: Disable cluster connection pool to restore 2.9 defaults (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
domdom82 authored Oct 30, 2023
1 parent 94dadcf commit 7892b8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions jobs/nats-tls/templates/nats-tls.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ cluster {
no_advertise: <%= p("nats.no_advertise") %>
host: "<%= p("nats.cluster_host", spec.address) %>"
port: <%= p("nats.cluster_port") %>
pool_size: -1

<%- if nats_auth_required and nats_user and nats_password -%>
authorization {
Expand Down
3 changes: 3 additions & 0 deletions spec/nats-tls/nats_tls_config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ module Bosh::Template::Test
no_advertise: false
host: "10.0.0.1"
port: 4223
pool_size: -1
authorization \{
user: "my-user"
Expand Down Expand Up @@ -199,6 +200,7 @@ module Bosh::Template::Test
no_advertise: false
host: "10.0.0.1"
port: 4223
pool_size: -1
authorization \{
user: "my-user"
Expand Down Expand Up @@ -280,6 +282,7 @@ module Bosh::Template::Test
no_advertise: false
host: "10.0.0.1"
port: 4223
pool_size: -1
authorization \{
user: "my-user"
Expand Down

0 comments on commit 7892b8a

Please sign in to comment.