Listen for TCP
This commit is contained in:
parent
02afeb376f
commit
28dff0ab4d
|
@ -25,7 +25,6 @@ func Prepare(cfg *config.JetStream) natsclient.JetStreamContext {
|
||||||
var err error
|
var err error
|
||||||
natsServer, err = natsserver.NewServer(&natsserver.Options{
|
natsServer, err = natsserver.NewServer(&natsserver.Options{
|
||||||
ServerName: "monolith",
|
ServerName: "monolith",
|
||||||
DontListen: true,
|
|
||||||
JetStream: true,
|
JetStream: true,
|
||||||
StoreDir: string(cfg.StoragePath),
|
StoreDir: string(cfg.StoragePath),
|
||||||
NoSystemAccount: true,
|
NoSystemAccount: true,
|
||||||
|
|
Loading…
Reference in a new issue