mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-31 13:22:46 +00:00
Consolidate pinecone demo http server variations
This commit is contained in:
parent
048e35026c
commit
a666c06da1
3 changed files with 10 additions and 34 deletions
|
@ -342,12 +342,10 @@ func (m *DendriteMonolith) Start() {
|
|||
cfg.Global.JetStream.InMemory = false
|
||||
|
||||
enableRelaying := false
|
||||
enableMetrics := true
|
||||
enableWebsockets := true
|
||||
enableMetrics := false
|
||||
enableWebsockets := false
|
||||
m.p2pMonolith.SetupDendrite(cfg, 65432, enableRelaying, enableMetrics, enableWebsockets)
|
||||
|
||||
useTCPListener := false
|
||||
m.p2pMonolith.StartMonolith(useTCPListener)
|
||||
m.p2pMonolith.StartMonolith()
|
||||
}
|
||||
|
||||
func (m *DendriteMonolith) Stop() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue