aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-demo-pinecone/main.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-04-04 15:35:47 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2022-04-04 15:35:47 +0100
commitcee12a7ab06c0b41499e13ccd8d4ea3cd4832ab0 (patch)
tree32517c5ef2de3638c2637e14ee432445a671aba7 /cmd/dendrite-demo-pinecone/main.go
parentc69159bda751afe035d33ddd13ae40e0283988b3 (diff)
Enhanced calm at startup of Pinecone demos
Diffstat (limited to 'cmd/dendrite-demo-pinecone/main.go')
-rw-r--r--cmd/dendrite-demo-pinecone/main.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/cmd/dendrite-demo-pinecone/main.go b/cmd/dendrite-demo-pinecone/main.go
index 5c086b7e..a3d3ed17 100644
--- a/cmd/dendrite-demo-pinecone/main.go
+++ b/cmd/dendrite-demo-pinecone/main.go
@@ -37,7 +37,6 @@ import (
"github.com/matrix-org/dendrite/cmd/dendrite-demo-pinecone/users"
"github.com/matrix-org/dendrite/cmd/dendrite-demo-yggdrasil/signing"
"github.com/matrix-org/dendrite/federationapi"
- "github.com/matrix-org/dendrite/federationapi/api"
"github.com/matrix-org/dendrite/internal"
"github.com/matrix-org/dendrite/internal/httputil"
"github.com/matrix-org/dendrite/keyserver"
@@ -280,14 +279,6 @@ func main() {
logrus.Info("Listening on ", httpBindAddr)
logrus.Fatal(http.ListenAndServe(httpBindAddr, httpRouter))
}()
- go func() {
- logrus.Info("Sending wake-up message to known nodes")
- req := &api.PerformBroadcastEDURequest{}
- res := &api.PerformBroadcastEDUResponse{}
- if err := fsAPI.PerformBroadcastEDU(context.TODO(), req, res); err != nil {
- logrus.WithError(err).Error("Failed to send wake-up message to known nodes")
- }
- }()
base.WaitForShutdown()
}