Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add cache to get_server_keys_json_for_remote #16123

Merged
merged 9 commits into from
Aug 18, 2023

Conversation

erikjohnston
Copy link
Member

Plus a lot of refactoring.

Note that Synapse really only generates queries to this API for a single server name and a specific set of key IDs (rather than for multiple servers, or for all keys for a given server).

Reviewable commit-by-commit.

@erikjohnston erikjohnston force-pushed the erikj/cache_key_queries branch 2 times, most recently from f2e9354 to 3598dd1 Compare August 16, 2023 15:22
This isn't as inefficient as it sounds, as we only ever really get a
single server in each request generally.
@erikjohnston erikjohnston marked this pull request as ready for review August 16, 2023 15:55
@erikjohnston erikjohnston requested a review from a team as a code owner August 16, 2023 15:55
Copy link
Contributor

@DMRobertson DMRobertson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks sane but would appreciate working through my comments to check I understood.

@DMRobertson
Copy link
Contributor

Reviewable commit-by-commit.

(thank you for this)

erikjohnston and others added 2 commits August 18, 2023 09:38
Co-authored-by: David Robertson <davidr@element.io>
@erikjohnston erikjohnston merged commit 0aba4a4 into develop Aug 18, 2023
37 checks passed
@erikjohnston erikjohnston deleted the erikj/cache_key_queries branch August 18, 2023 10:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants