synapse/tests/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 Write some tests for the email pusher (#4095) 2018-10-30 23:55:43 +11:00
test_bulk_push_rule_evaluator.py Reject mentions on the C-S API which are invalid. (#15311) 2023-03-24 08:31:14 -04:00
test_email.py Make cleaning up pushers depend on the device_id instead of the token_id (#15280) 2023-03-24 11:09:39 -04:00
test_http.py Reduce the size of the HTTP connection pool for non-pushers. (#15514) 2023-05-02 09:29:40 -04:00
test_presentable_names.py Fix-up type hints for tests.push module. (#14816) 2023-01-11 07:35:40 -05:00
test_push_rule_evaluator.py Use immutabledict instead of frozendict (#15113) 2023-03-22 17:15:34 +00:00