Demo tweaks

This commit is contained in:
Neil Alexander 2021-05-24 13:12:05 +01:00
parent 79c5485c8d
commit a7f2845a6a
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
4 changed files with 6 additions and 14 deletions

View file

@ -97,7 +97,7 @@ func (m *DendriteMonolith) SetStaticPeer(uri string) {
m.staticPeerMutex.Unlock()
m.DisconnectType(pineconeRouter.PeerTypeRemote)
if uri != "" {
m.staticPeerConnect()
go m.staticPeerConnect()
}
}