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
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue