anonymousland-synapse/synapse/handlers
Erik Johnston 2b7c180879
Start fewer opentracing spans (#8640)
#8567 started a span for every background process. This is good as it means all Synapse code that gets run should be in a span (unless in the sentinel logging context), but it means we generate about 15x the number of spans as we did previously.

This PR attempts to reduce that number by a) not starting one for send commands to Redis, and b) deferring starting background processes until after we're sure they're necessary.

I don't really know how much this will help.
2020-10-26 09:30:19 +00:00
..
ui_auth Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
__init__.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
_base.py Add type hints to profile and base handlers. (#8609) 2020-10-21 06:44:31 -04:00
account_data.py Add type hints to some handlers (#8505) 2020-10-09 07:20:51 -04:00
account_validity.py Consistently use wrap_as_background_task in more places (#8599) 2020-10-20 11:29:38 -04:00
acme_issuing_service.py Use slots in attrs classes where possible (#8296) 2020-09-14 12:50:06 -04:00
acme.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
admin.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
appservice.py Start fewer opentracing spans (#8640) 2020-10-26 09:30:19 +00:00
auth.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
cas_handler.py Fix handling of User-Agent headers with bad utf-8. (#8632) 2020-10-23 17:12:59 +01:00
deactivate_account.py Move additional tasks to the background worker, part 4 (#8513) 2020-10-13 08:20:32 -04:00
device.py Add typing information to the device handler. (#8407) 2020-10-07 08:58:21 -04:00
devicemessage.py Add type hints to some handlers (#8505) 2020-10-09 07:20:51 -04:00
directory.py Allow ThirdPartyEventRules modules to manipulate public room state (#8292) 2020-10-05 14:57:46 +01:00
e2e_keys.py Add support for MSC2732: olm fallback keys (#8312) 2020-10-06 13:26:29 -04:00
e2e_room_keys.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
events.py Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
federation.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
groups_local.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
identity.py Fix handling of connection timeouts in outgoing http requests (#8400) 2020-09-29 10:29:21 +01:00
initial_sync.py Add type hints to profile and base handlers. (#8609) 2020-10-21 06:44:31 -04:00
message.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
oidc_handler.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
pagination.py Move additional tasks to the background worker, part 4 (#8513) 2020-10-13 08:20:32 -04:00
password_policy.py Add type hints to some handlers (#8505) 2020-10-09 07:20:51 -04:00
presence.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
profile.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
read_marker.py Add type hints to some handlers (#8505) 2020-10-09 07:20:51 -04:00
receipts.py Send some ephemeral events to appservices (#8437) 2020-10-15 12:33:28 -04:00
register.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
room_list.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
room_member_worker.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
room_member.py Simplify _locally_reject_invite 2020-10-13 23:58:48 +01:00
room.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
saml_handler.py Fix handling of User-Agent headers with bad utf-8. (#8632) 2020-10-23 17:12:59 +01:00
search.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
set_password.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
state_deltas.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
stats.py Allow background tasks to be run on a separate worker. (#8369) 2020-10-02 08:23:15 -04:00
sync.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
typing.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
user_directory.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00