aboutsummaryrefslogtreecommitdiff
path: root/roomserver
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-03-21 10:32:34 +0000
committerGitHub <noreply@github.com>2022-03-21 10:32:34 +0000
commit9572f5ed19abc0b635092108aa6956eaebc60578 (patch)
treeb4ed09d4db6406d0fe02a3d904125027d05aa333 /roomserver
parent8336ce972ec75b07b62f7b382c0e1e405d549545 (diff)
Wait for safe shutdown of NATS Server (#2289)
Diffstat (limited to 'roomserver')
-rw-r--r--roomserver/roomserver.go2
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,