element-hq / element-hq/synapse

Outgoing federation requests are sent even if server discovery times out

Open
#10,855 0 comments 0 reactions 0 assignees View on GitHub
P4 S-Minor T-Enhancement
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#10855](https://github.com/matrix-org/synapse/issues/10855).

---

If the server discovery phase (`.well-known` and SRV lookup) of a federation request times out, then we go ahead and send the federation request anyway (and then throw away the results).

In general, this will just cause CPU overhead and log spam.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.