synapse-old/synapse/http
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
..
federation Pull in netaddr type hints. (#15231) 2023-03-09 07:09:49 -05:00
__init__.py Add missing type hints to synapse.http. (#11571) 2021-12-14 07:00:47 -05:00
additional_resource.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
client.py Reduce the size of the HTTP connection pool for non-pushers. (#15514) 2023-05-02 09:29:40 -04:00
connectproxyclient.py Another batch of type annotations (#12726) 2022-05-13 12:35:31 +01:00
matrixfederationclient.py Finish type hints for federation client HTTP code. (#15465) 2023-04-24 13:12:06 -04:00
proxyagent.py Properly typecheck types.http (#14988) 2023-02-07 00:20:04 +00:00
request_metrics.py Reduce the number of "untyped defs" (#12716) 2022-05-12 14:33:50 +00:00
server.py Disable directory listing for `StaticResource` (#15438) 2023-04-14 13:49:47 -04:00
servlet.py Reject mentions on the C-S API which are invalid. (#15311) 2023-03-24 08:31:14 -04:00
site.py Experimental Unix socket support (#15353) 2023-04-03 10:27:51 +01:00
types.py Unify HTTP query parameter type hints (#12415) 2022-04-08 13:06:51 +01:00