mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-29 12:42:46 +00:00
Wait for safe shutdown of NATS Server (#2289)
This commit is contained in:
parent
8336ce972e
commit
9572f5ed19
11 changed files with 26 additions and 14 deletions
|
@ -46,7 +46,7 @@ func NewInternalAPI(
|
|||
appServices []config.ApplicationService, keyAPI keyapi.KeyInternalAPI,
|
||||
rsAPI rsapi.RoomserverInternalAPI, pgClient pushgateway.Client,
|
||||
) api.UserInternalAPI {
|
||||
js, _ := jetstream.Prepare(&cfg.Matrix.JetStream)
|
||||
js, _ := jetstream.Prepare(base.ProcessContext, &cfg.Matrix.JetStream)
|
||||
|
||||
syncProducer := producers.NewSyncAPI(
|
||||
db, js,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue