mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-12 10:56:50 +00:00
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.
1 line
67 B
Text
1 line
67 B
Text
Reduce database load of user search when using large search terms.
|