aboutsummaryrefslogtreecommitdiff
path: root/setup/jetstream
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-04-27 13:36:40 +0100
committerGitHub <noreply@github.com>2022-04-27 13:36:40 +0100
commitd7cc187ec00410b949ffae1625835f8ac9f36c29 (patch)
tree9b4c885474541d94fc91fc92e84ea7e025b2d5e3 /setup/jetstream
parent54ff4cf690918886c7e7a59a65ccff970c3aa1fc (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.go1
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)