MatrixSynapse/tests
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
..
api
app
appservice
config
crypto
events
federation
handlers
http
logging
media
metrics
module_api
push Reduce the size of the HTTP connection pool for non-pushers. (#15514) 2023-05-02 09:29:40 -04:00
replication Reduce the size of the HTTP connection pool for non-pushers. (#15514) 2023-05-02 09:29:40 -04:00
rest
scripts
server_notices
state
storage
test_utils
types
util
__init__.py
server.py
test_distributor.py
test_event_auth.py
test_federation.py
test_mau.py
test_phone_home.py
test_rust.py
test_server.py
test_state.py
test_terms_auth.py
test_test_utils.py
test_types.py
test_visibility.py
unittest.py
utils.py