diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-10-09 17:08:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-09 17:08:32 +0100 |
commit | fe5d1400bf426d1fea8a6c833088d1e491e9dddc (patch) | |
tree | 3986e8152d951ff2d63ae0c889419f30f92b6292 /cmd/dendritejs | |
parent | 4df7e345bb8a8182c50666e40023909f27f5d607 (diff) |
Update federation timeouts (#1504)
* Update to matrix-org/gomatrixserverlib#234
* Update gomatrixserverlib
* Update federation timeouts
* Fix dendritejs
* Increase /send context time in destination queue
Diffstat (limited to 'cmd/dendritejs')
-rw-r--r-- | cmd/dendritejs/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dendritejs/main.go b/cmd/dendritejs/main.go index 267259c7..2d7f8b02 100644 --- a/cmd/dendritejs/main.go +++ b/cmd/dendritejs/main.go @@ -141,14 +141,14 @@ func createFederationClient(cfg *config.Dendrite, node *go_http_js_libp2p.P2pLoc fed := gomatrixserverlib.NewFederationClient( cfg.Global.ServerName, cfg.Global.KeyID, cfg.Global.PrivateKey, true, ) - fed.Client = *gomatrixserverlib.NewClientWithTransport(true, tr) + fed.Client = *gomatrixserverlib.NewClientWithTransport(tr) return fed } func createClient(node *go_http_js_libp2p.P2pLocalNode) *gomatrixserverlib.Client { tr := go_http_js_libp2p.NewP2pTransport(node) - return gomatrixserverlib.NewClientWithTransport(true, tr) + return gomatrixserverlib.NewClientWithTransport(tr) } func createP2PNode(privKey ed25519.PrivateKey) (serverName string, node *go_http_js_libp2p.P2pLocalNode) { |