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 Run Black. (#5482) 2019-06-20 19:32:02 +10:00
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 Don't encode object as UTF-8 string if not needed. 2019-10-24 18:08:45 +01:00
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 Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
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 Fix up some typechecking (#6150) 2019-10-02 05:29:01 -07:00
module_api Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
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 Allow HS to send emails when adding an email to the HS (#6042) 2019-09-20 15:21:30 +01:00
rest Merge pull request #6334 from matrix-org/rav/url_preview_limit_title_2 2019-11-05 17:28:11 +00:00
server_notices Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
spam_checker_api Expose some homeserver functionality to spam checkers (#6259) 2019-10-31 09:16:14 -06:00
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 Fix SSO fallback login 2019-09-12 11:42:47 +01:00
storage Fix the SQL SELECT query in _paginate_room_events_txn 2019-11-07 11:51:11 +00:00
streams Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
util Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
__init__.py 1.5.0 2019-10-29 14:28:54 +00:00
event_auth.py Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
notifier.py Port to use state storage 2019-10-30 14:46:54 +00:00
python_dependencies.py Remove the psutil dependency (#6318) 2019-11-05 05:05:48 +11:00
secrets.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
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 Merge branch 'develop' into uhoreg/e2e_cross-signing_merged 2019-10-18 11:39:40 +01:00
visibility.py Port to use state storage 2019-10-30 14:46:54 +00:00