forked-synapse/synapse
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
..
_scripts Add an admin API endpoint to support per-user feature flags (#15344) 2023-04-28 11:33:45 -07:00
api Add column full_user_id to tables profiles and user_filters. (#15458) 2023-04-26 16:03:26 -07:00
app Move Spam Checker callbacks to a dedicated file (#15453) 2023-04-18 00:57:40 +00:00
appservice Add support for claiming multiple OTKs at once. (#15468) 2023-04-27 12:57:46 -04:00
config Initial implementation of MSC3981: recursive relations API (#15315) 2023-05-02 07:59:55 -04:00
crypto Modify StoreKeyFetcher to read from server_keys_json. (#15417) 2023-04-20 12:30:32 -04:00
events Experimental support for MSC3970: per-device transaction IDs (#15318) 2023-04-25 09:37:09 +01:00
federation Add support for claiming multiple OTKs at once. (#15468) 2023-04-27 12:57:46 -04:00
handlers Initial implementation of MSC3981: recursive relations API (#15315) 2023-05-02 07:59:55 -04:00
http Reduce the size of the HTTP connection pool for non-pushers. (#15514) 2023-05-02 09:29:40 -04:00
logging Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
media Move Spam Checker callbacks to a dedicated file (#15453) 2023-04-18 00:57:40 +00:00
metrics Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
module_api Add a module API to send an HTTP push notification (#15387) 2023-04-26 21:10:51 +02:00
push Reduce the size of the HTTP connection pool for non-pushers. (#15514) 2023-05-02 09:29:40 -04:00
replication Remove legacy code of single user device resync api (#15418) 2023-04-21 12:06:39 +01:00
res Remove registration fallback code. (#15405) 2023-04-13 11:36:29 -04:00
rest Initial implementation of MSC3981: recursive relations API (#15315) 2023-05-02 07:59:55 -04:00
server_notices Remove unused room_alias field from /createRoom response (#15093) 2023-02-22 11:07:28 +00:00
spam_checker_api Fix import in module_api module and docs on the new check_event_for_spam signature (#12918) 2022-05-31 12:04:53 +02:00
state Use immutabledict instead of frozendict (#15113) 2023-03-22 17:15:34 +00:00
static Remove registration fallback code. (#15405) 2023-04-13 11:36:29 -04:00
storage Initial implementation of MSC3981: recursive relations API (#15315) 2023-05-02 07:59:55 -04:00
streams Use mypy 1.0 (#15052) 2023-02-16 16:09:11 +00:00
types Experimental Unix socket support (#15353) 2023-04-03 10:27:51 +01:00
util Use immutabledict instead of frozendict (#15113) 2023-03-22 17:15:34 +00:00
__init__.py Use immutabledict instead of frozendict (#15113) 2023-03-22 17:15:34 +00:00
event_auth.py Implement MSC2174: move redacts to a content property. (#15395) 2023-04-13 13:47:07 +00:00
notifier.py Fix a bug in the send_local_online_presence_to module API (#14880) 2023-01-25 21:34:37 +00:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
server.py Reduce the size of the HTTP connection pool for non-pushers. (#15514) 2023-05-02 09:29:40 -04:00
visibility.py Refactor filter_events_for_server (#15240) 2023-03-10 15:31:25 +00:00