diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-03-28 11:44:25 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-03-28 11:44:25 +0100 |
commit | 8099bcbc8b19298dc3f392571e53fe86839d6277 (patch) | |
tree | 1159cd11977298551c99c8b9884f7993028d59ad /build/gobind-pinecone | |
parent | 34b9c8c67000bd27db73c987e629c9df0d2c0f28 (diff) |
P2P demo tweaks
Diffstat (limited to 'build/gobind-pinecone')
-rw-r--r-- | build/gobind-pinecone/monolith.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/gobind-pinecone/monolith.go b/build/gobind-pinecone/monolith.go index ea75d527..8ef4bbc7 100644 --- a/build/gobind-pinecone/monolith.go +++ b/build/gobind-pinecone/monolith.go @@ -281,6 +281,7 @@ func (m *DendriteMonolith) Start() { cfg.Global.ServerName = gomatrixserverlib.ServerName(hex.EncodeToString(pk)) cfg.Global.PrivateKey = sk cfg.Global.KeyID = gomatrixserverlib.KeyID(signing.KeyID) + cfg.Global.JetStream.InMemory = true cfg.Global.JetStream.StoragePath = config.Path(fmt.Sprintf("%s/%s", m.StorageDirectory, prefix)) cfg.UserAPI.AccountDatabase.ConnectionString = config.DataSource(fmt.Sprintf("file:%s/%s-account.db", m.StorageDirectory, prefix)) cfg.MediaAPI.Database.ConnectionString = config.DataSource(fmt.Sprintf("file:%s/dendrite-p2p-mediaapi.db", m.StorageDirectory)) |