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 /roomserver | |
parent | 8336ce972ec75b07b62f7b382c0e1e405d549545 (diff) |
Wait for safe shutdown of NATS Server (#2289)
Diffstat (limited to 'roomserver')
-rw-r--r-- | roomserver/roomserver.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roomserver/roomserver.go b/roomserver/roomserver.go index 1992ac33..896773ba 100644 --- a/roomserver/roomserver.go +++ b/roomserver/roomserver.go @@ -50,7 +50,7 @@ func NewInternalAPI( logrus.WithError(err).Panicf("failed to connect to room server db") } - js, nc := jetstream.Prepare(&cfg.Matrix.JetStream) + js, nc := jetstream.Prepare(base.ProcessContext, &cfg.Matrix.JetStream) return internal.NewRoomserverAPI( base.ProcessContext, cfg, roomserverDB, js, nc, |