1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-03-12 10:56:50 +00:00
synapse/changelog.d/18172.misc
Erik Johnston 0c31783b4f
Limit size of user directory search queries (#18172)
If a user search has many words we can end up creating really large
queries that take a long time for the database to process. Generally,
such searches don't return any results anyway (due to limits on user ID
and display name length).

We "fix" this by cheating and only searching for the first ten words.
2025-02-17 15:39:26 +00:00

1 line
67 B
Text

Reduce database load of user search when using large search terms.