0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-05-17 12:53:50 +02:00
dendrite/federationapi/statistics
Till 865fff5f03
Make usage of relays optional, avoid DB roundtrips (#3337)
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.

---------

Co-authored-by: devonh <devon.dmytro@gmail.com>
2024-02-28 20:59:34 +01:00
..
statistics.go Make usage of relays optional, avoid DB roundtrips (#3337) 2024-02-28 20:59:34 +01:00
statistics_test.go Make usage of relays optional, avoid DB roundtrips (#3337) 2024-02-28 20:59:34 +01:00