MatrixSynapse/synapse/push
Patrick Cloke 6aca4e7cb8
Reduce the size of the HTTP connection pool for non-pushers. (#15514)
Pushers tend to make many connections to the same HTTP host
(e.g. a new event comes in, causes events to be pushed, and then
the homeserver connects to the same host many times). Due to this
the per-host HTTP connection pool size was increased, but this does
not make sense for other SimpleHttpClients.

Add a parameter for the connection pool and override it for pushers
(making a separate SimpleHttpClient for pushers with the increased
configuration).

This returns the HTTP connection pool settings to the default Twisted
ones for non-pusher HTTP clients.
2023-05-02 09:29:40 -04:00
..
__init__.py Make cleaning up pushers depend on the device_id instead of the token_id (#15280) 2023-03-24 11:09:39 -04:00
bulk_push_rule_evaluator.py Disable push rule evaluation for rooms excluded from sync (#15361) 2023-04-27 11:32:02 +01:00
clientformat.py Update intentional mentions (MSC3952) to depend on `exact_event_property_contains` (MSC3966). (#15051) 2023-03-02 08:30:51 -05:00
emailpusher.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
httppusher.py Reduce the size of the HTTP connection pool for non-pushers. (#15514) 2023-05-02 09:29:40 -04:00
mailer.py Fix missing app variable in mail subject for password resets (#15352) 2023-03-30 11:44:53 +01:00
presentable_names.py Use inline type hints in various other places (in `synapse/`) (#10380) 2021-07-15 11:02:43 +01:00
push_tools.py Aggregate unread notif count query for badge count calculation (#14255) 2022-11-30 08:45:06 -05:00
push_types.py Improved push typing (#11409) 2021-11-30 11:49:20 +00:00
pusher.py Use direct references for some configuration variables (part 3) (#10885) 2021-09-23 07:13:34 -04:00
pusherpool.py Make cleaning up pushers depend on the device_id instead of the token_id (#15280) 2023-03-24 11:09:39 -04:00
rulekinds.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00