diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2021-10-22 11:38:04 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2021-10-22 11:38:04 +0100 |
commit | 4c129e3e3d6e8d952a87f79d9fe6cb343e2de341 (patch) | |
tree | 0ce0131a4791aa6c7a446f0cbead2ee4d3d5eec8 /build | |
parent | 3b7a4ad640f260b3918a35684b05ced077a09f0c (diff) |
Update Pinecone demo
Diffstat (limited to 'build')
-rw-r--r-- | build/gobind-pinecone/monolith.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/gobind-pinecone/monolith.go b/build/gobind-pinecone/monolith.go index bd1b9998..21dc128c 100644 --- a/build/gobind-pinecone/monolith.go +++ b/build/gobind-pinecone/monolith.go @@ -132,7 +132,7 @@ func (m *DendriteMonolith) Conduit(zone string, peertype int) (*Conduit, error) for i := 1; i <= 10; i++ { logrus.Errorf("Attempting authenticated connect (attempt %d)", i) var err error - conduit.port, err = m.PineconeRouter.AuthenticatedConnect(l, zone, peertype) + conduit.port, err = m.PineconeRouter.AuthenticatedConnect(l, zone, peertype, true) switch err { case io.ErrClosedPipe: logrus.Errorf("Authenticated connect failed due to closed pipe (attempt %d)", i) @@ -253,7 +253,7 @@ func (m *DendriteMonolith) Start() { logrus.SetOutput(BindLogger{}) logger := log.New(os.Stdout, "PINECONE: ", 0) - m.PineconeRouter = pineconeRouter.NewRouter(logger, sk, "dendrite", nil) + m.PineconeRouter = pineconeRouter.NewRouter(logger, sk, false) m.PineconeQUIC = pineconeSessions.NewSessions(logger, m.PineconeRouter) m.PineconeMulticast = pineconeMulticast.NewMulticast(logger, m.PineconeRouter) |