diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-05-09 14:15:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 14:15:24 +0100 |
commit | 09d754cfbf9268044d0f59fbe509640b8d71e011 (patch) | |
tree | 23922c3b718c3317651fcd95da85f6f0765662f4 /syncapi | |
parent | 79e2fbc66368d8f4754b9fff8005d3e77969fcc4 (diff) |
One NATS instance per `BaseDendrite` (#2438)
* One NATS instance per `BaseDendrite`
* Fix roomserver
Diffstat (limited to 'syncapi')
-rw-r--r-- | syncapi/syncapi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/syncapi.go b/syncapi/syncapi.go index 6da8ce6d..dbc6e240 100644 --- a/syncapi/syncapi.go +++ b/syncapi/syncapi.go @@ -45,7 +45,7 @@ func AddPublicRoutes( ) { cfg := &base.Cfg.SyncAPI - js, natsClient := jetstream.Prepare(base.ProcessContext, &cfg.Matrix.JetStream) + js, natsClient := base.NATS.Prepare(base.ProcessContext, &cfg.Matrix.JetStream) syncDB, err := storage.NewSyncServerDatasource(base, &cfg.Database) if err != nil { |