Listen for TCP

This commit is contained in:
Neil Alexander 2022-03-11 14:41:36 +00:00
parent 02afeb376f
commit 28dff0ab4d
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -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,