mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-22 07:54:58 -05:00
3f9b61ff95
Doing a SELECT DISTINCT when paginating is quite expensive, because it requires the engine to do sorting on the entire events table. However, we only need to run it if we're filtering on 2+ labels, so this PR is changing the request so that DISTINCT is only used then. |
||
---|---|---|
.. | ||
main | ||
__init__.py |