aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2021-10-22 11:38:04 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2021-10-22 11:38:04 +0100
commit4c129e3e3d6e8d952a87f79d9fe6cb343e2de341 (patch)
tree0ce0131a4791aa6c7a446f0cbead2ee4d3d5eec8 /build
parent3b7a4ad640f260b3918a35684b05ced077a09f0c (diff)
Update Pinecone demo
Diffstat (limited to 'build')
-rw-r--r--build/gobind-pinecone/monolith.go4
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)