diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-04-27 13:36:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-27 13:36:40 +0100 |
commit | d7cc187ec00410b949ffae1625835f8ac9f36c29 (patch) | |
tree | 9b4c885474541d94fc91fc92e84ea7e025b2d5e3 /setup/jetstream | |
parent | 54ff4cf690918886c7e7a59a65ccff970c3aa1fc (diff) |
Prevent JetStream from handling OS signals, allow running as a Windows service (#2385)
* Prevent JetStream from handling OS signals, allow running as a Windows service (fixes #2374)
* Remove double import
Diffstat (limited to 'setup/jetstream')
-rw-r--r-- | setup/jetstream/nats.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/setup/jetstream/nats.go b/setup/jetstream/nats.go index 1c8a89e8..8d528969 100644 --- a/setup/jetstream/nats.go +++ b/setup/jetstream/nats.go @@ -44,6 +44,7 @@ func Prepare(process *process.ProcessContext, cfg *config.JetStream) (natsclient StoreDir: string(cfg.StoragePath), NoSystemAccount: true, MaxPayload: 16 * 1024 * 1024, + NoSigs: true, }) if err != nil { panic(err) |