This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Individual workers will fetch remote server keys without sharing a cache #12767
Labels
A-Workers
Problems related to running Synapse in Worker Mode (or replication)
T-Other
Questions, user support, anything else.
Z-Time-Tracked
Element employees should track their time spent on this issue/PR.
We don't seem to try fetching server keys from the database when validating federation requests on a worker. This can lead to multiple workers each making a server key request to the same remote homeserver.
synapse/synapse/crypto/keyring.py
Lines 260 to 298 in e0bb268
We have a database table where we cache server key responses (
server_keys_json
). I can't think of any reason why we wouldn't use it here?The text was updated successfully, but these errors were encountered: