diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-03-21 10:32:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-21 10:32:34 +0000 |
commit | 9572f5ed19abc0b635092108aa6956eaebc60578 (patch) | |
tree | b4ed09d4db6406d0fe02a3d904125027d05aa333 /appservice | |
parent | 8336ce972ec75b07b62f7b382c0e1e405d549545 (diff) |
Wait for safe shutdown of NATS Server (#2289)
Diffstat (limited to 'appservice')
-rw-r--r-- | appservice/appservice.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appservice/appservice.go b/appservice/appservice.go index 3e19e09b..b9909186 100644 --- a/appservice/appservice.go +++ b/appservice/appservice.go @@ -59,7 +59,7 @@ func NewInternalAPI( }, }, } - js, _ := jetstream.Prepare(&base.Cfg.Global.JetStream) + js, _ := jetstream.Prepare(base.ProcessContext, &base.Cfg.Global.JetStream) // Create a connection to the appservice postgres DB appserviceDB, err := storage.NewDatabase(&base.Cfg.AppServiceAPI.Database) |