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

Make usage of relays optional, avoid DB roundtrips #3337

Merged
merged 3 commits into from
Feb 28, 2024

Conversation

S7evinK
Copy link
Contributor

@S7evinK S7evinK commented Feb 26, 2024

This should avoid 2 additional DB roundtrips if we don't want to use relays.

So instead of possibly doing roughly 20k trips to the DB, we are now "only" doing ~6600.

@S7evinK S7evinK added the X-Performance Issue/PR around something that is slow or taking lots of memory label Feb 26, 2024
@S7evinK S7evinK requested a review from a team as a code owner February 26, 2024 18:54
federationapi/federationapi.go Outdated Show resolved Hide resolved
Co-authored-by: devonh <devon.dmytro@gmail.com>
@S7evinK S7evinK merged commit 865fff5 into main Feb 28, 2024
18 checks passed
@S7evinK S7evinK deleted the s7evink/startup-queues branch February 28, 2024 19:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
X-Performance Issue/PR around something that is slow or taking lots of memory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants