fix hardcoded proxypath
This commit is contained in:
parent
8d2511129c
commit
ac2637d14b
@ -376,7 +376,7 @@ func (a *Agent) setupNatsOptions() []nats.Option {
|
|||||||
opts = append(opts, nats.RetryOnFailedConnect(true))
|
opts = append(opts, nats.RetryOnFailedConnect(true))
|
||||||
opts = append(opts, nats.MaxReconnects(-1))
|
opts = append(opts, nats.MaxReconnects(-1))
|
||||||
opts = append(opts, nats.ReconnectBufSize(-1))
|
opts = append(opts, nats.ReconnectBufSize(-1))
|
||||||
opts = append(opts, nats.ProxyPath("natsws"))
|
opts = append(opts, nats.ProxyPath(a.NatsProxyPath))
|
||||||
return opts
|
return opts
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user