synapse/tests/replication
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
..
http Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
slave Bump ruff from 0.0.252 to 0.0.259 (#15328) 2023-03-28 09:46:47 +01:00
tcp to_device updates could be dropped when consuming the replication stream (#15349) 2023-03-30 19:41:14 +02:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py to_device updates could be dropped when consuming the replication stream (#15349) 2023-03-30 19:41:14 +02:00
test_auth.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
test_client_reader_shard.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
test_federation_ack.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
test_federation_sender_shard.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_module_cache_invalidation.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
test_multi_media_repo.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
test_pusher_shard.py Reduce the size of the HTTP connection pool for non-pushers. (#15514) 2023-05-02 09:29:40 -04:00
test_sharded_event_persister.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00