synapse-old/synapse
Erik Johnston f7ddfe17a3
Speed up `@cachedList` (#13591)
This speeds things up by ~2x.

The vast majority of the time is now spent in `LruCache` moving things around the linked lists.

We do this via two things:
1. Don't create a deferred per-key during bulk set operations in `DeferredCache`. Instead, only create them if a subsequent caller asks for the key.
2. Add a bulk lookup API to `DeferredCache` rather than use a loop.
2022-08-23 14:53:27 +00:00
..
_scripts Merge branch 'master' into develop 2022-07-19 16:14:02 +02:00
api `synapse.api.auth.Auth` cleanup: make permission-related methods use `Requester` instead of the `UserID` (#13024) 2022-08-22 14:17:59 +01:00
app Drop support for delegating email validation, round 2 (#13596) 2022-08-23 11:40:00 +00:00
appservice Add prometheus counters for content types other than events (#13175) 2022-07-13 15:18:20 +01:00
config Drop support for delegating email validation, round 2 (#13596) 2022-08-23 11:40:00 +00:00
crypto Bump `black` and `click` versions (#12320) 2022-04-05 11:04:28 +01:00
events MSC2716v4 room version - remove namespace from MSC2716 event content fields (#13551) 2022-08-19 15:37:01 -05:00
federation Instrument the federation/backfill part of `/messages` (#13489) 2022-08-16 12:39:40 -05:00
handlers Synapse 1.66.0rc1 (2022-08-23) 2022-08-23 14:00:09 +01:00
http `synapse.api.auth.Auth` cleanup: make permission-related methods use `Requester` instead of the `UserID` (#13024) 2022-08-22 14:17:59 +01:00
logging Instrument the federation/backfill part of `/messages` (#13489) 2022-08-16 12:39:40 -05:00
metrics Add missing types to opentracing. (#13345) 2022-07-21 12:01:52 +00:00
module_api Update module API "update room membership" method to allow for remote joins (#13441) 2022-08-05 09:37:58 +00:00
push Fix breaking event sending due to bad push rule (#13547) 2022-08-17 11:02:38 +00:00
replication Speed up fetching large numbers of push rules (#13592) 2022-08-23 13:15:43 +01:00
res Add viewport directive to HTML templates to optimise for mobile (#13493) 2022-08-11 14:04:20 +01:00
rest Drop support for delegating email validation, round 2 (#13596) 2022-08-23 11:40:00 +00:00
server_notices `synapse.api.auth.Auth` cleanup: make permission-related methods use `Requester` instead of the `UserID` (#13024) 2022-08-22 14:17:59 +01:00
spam_checker_api Fix import in module_api module and docs on the new check_event_for_spam signature (#12918) 2022-05-31 12:04:53 +02:00
state Cache user IDs instead of profile objects (#13573) 2022-08-23 09:49:59 +00:00
static Add viewport directive to HTML templates to optimise for mobile (#13493) 2022-08-11 14:04:20 +01:00
storage Fix regression caused by #13573 (#13600) 2022-08-23 14:14:05 +00:00
streams Instrument `/messages` for understandable traces in Jaeger (#13368) 2022-08-03 10:57:38 -05:00
util Speed up `@cachedList` (#13591) 2022-08-23 14:53:27 +00:00
__init__.py Fix Synapse git info missing in version strings (#12973) 2022-06-07 15:24:11 +01:00
event_auth.py Implement MSC3848: Introduce errcodes for specific event sending failures (#13343) 2022-07-27 13:44:40 +01:00
notifier.py Notifier: accept callbacks to fire on room joins (#13254) 2022-07-13 19:48:24 +01:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
server.py Move the "email unsubscribe" resource, refactor the macaroon generator & simplify the access token verification logic. (#12986) 2022-06-14 09:12:08 -04:00
types.py Fix `destination_is` errors seen in sentry. (#13041) 2022-06-14 18:28:26 +01:00
visibility.py Add some miscellaneous comments around sync (#13474) 2022-08-10 12:58:20 +01:00