synapse/synapse
Erik Johnston ece66ba61c
Minor perf speed up for large accounts on SSS (#17751)
This works as instead of passing *all* rooms to `record_sent_rooms` we
only need to pass rooms that were previously not in the LIVE state.

This came from a py-spy where we were spending ~10% CPU calling these
functions. Note that `record_sent_rooms` is a no-op for rooms that are
already in the `LIVE` state, so we only need to call them for
`PREVIOUSLY` or `INITIAL` rooms.
2024-09-30 12:58:02 +01:00
..
_scripts Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
api Support MSC3757: Restricting who can overwrite a state event (#17513) 2024-09-26 15:25:05 +02:00
app Support MSC4140: Delayed events (Futures) (#17326) 2024-09-23 13:33:48 +01:00
appservice Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
config Support MSC4140: Delayed events (Futures) (#17326) 2024-09-23 13:33:48 +01:00
crypto Fix fetching signing keys when old_verify_keys is omitted (#17568) 2024-08-14 14:13:56 +01:00
events import pydantic objects from the _pydantic_compat module (#17667) 2024-09-11 21:01:43 +00:00
federation Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
handlers Minor perf speed up for large accounts on SSS (#17751) 2024-09-30 12:58:02 +01:00
http Bump treq from 23.11.0 to 24.9.1 (#17744) 2024-09-25 11:19:03 +02:00
logging Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
media Fix content length on federation /thumbnail responses (#17532) 2024-08-28 11:29:12 +01:00
metrics Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
module_api
push Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
replication Support MSC4140: Delayed events (Futures) (#17326) 2024-09-23 13:33:48 +01:00
res
rest Support MSC4140: Delayed events (Futures) (#17326) 2024-09-23 13:33:48 +01:00
server_notices Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
spam_checker_api
state
static
storage Support MSC4140: Delayed events (Futures) (#17326) 2024-09-23 13:33:48 +01:00
streams
synapse_rust
types Sliding sync: Add connection tracking to the account_data extension (#17695) 2024-09-19 19:51:51 +01:00
util Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
__init__.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
_pydantic_compat.py import pydantic objects from the _pydantic_compat module (#17667) 2024-09-11 21:01:43 +00:00
event_auth.py Support MSC3757: Restricting who can overwrite a state event (#17513) 2024-09-26 15:25:05 +02:00
notifier.py Reduce volume of 'Waiting for current token' logs, which were introduced in v1.109.0. (#17428) 2024-07-23 11:51:34 +01:00
py.typed
server.py Support MSC4140: Delayed events (Futures) (#17326) 2024-09-23 13:33:48 +01:00
visibility.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00