mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-15 14:32:30 +01:00
6aca4e7cb8
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. |
||
---|---|---|
.. | ||
http | ||
slave | ||
tcp | ||
__init__.py | ||
_base.py | ||
test_auth.py | ||
test_client_reader_shard.py | ||
test_federation_ack.py | ||
test_federation_sender_shard.py | ||
test_module_cache_invalidation.py | ||
test_multi_media_repo.py | ||
test_pusher_shard.py | ||
test_sharded_event_persister.py |