MatrixSynapse/synapse
Brendan Abolivier 3f9b61ff95
Fix the SQL SELECT query in _paginate_room_events_txn
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.
2019-11-07 11:51:11 +00:00
..
_scripts
api Merge pull request #6301 from matrix-org/babolivier/msc2326 2019-11-01 17:04:45 +00:00
app Fix phone home stats 2019-11-05 17:44:09 +00:00
appservice rstrip slashes from url on appservice (#6306) 2019-10-31 17:32:25 +00:00
config Remove last usages of deprecated logging.warn method (#6314) 2019-11-01 12:03:44 +00:00
crypto
events Fix bug which caused rejected events to be stored with the wrong room state (#6320) 2019-11-06 10:01:39 +00:00
federation Depublish a room from the public rooms list when it is upgraded (#6232) 2019-11-01 10:28:09 +00:00
groups
handlers Fix bug which caused rejected events to be stored with the wrong room state (#6320) 2019-11-06 10:01:39 +00:00
http Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
logging Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
metrics
module_api
push Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
replication document the REPLICATE command a bit better (#6305) 2019-11-04 12:40:18 +00:00
res/templates
rest Merge pull request #6334 from matrix-org/rav/url_preview_limit_title_2 2019-11-05 17:28:11 +00:00
server_notices
spam_checker_api
state Fix bug which caused rejected events to be stored with the wrong room state (#6320) 2019-11-06 10:01:39 +00:00
static
storage Fix the SQL SELECT query in _paginate_room_events_txn 2019-11-07 11:51:11 +00:00
streams
util
__init__.py
event_auth.py
notifier.py
python_dependencies.py Remove the psutil dependency (#6318) 2019-11-05 05:05:48 +11:00
secrets.py
server.py Remove the psutil dependency (#6318) 2019-11-05 05:05:48 +11:00
server.pyi Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
types.py
visibility.py