Skip to content
Snippets Groups Projects
Verified Commit 02c6c196 authored by drebs's avatar drebs
Browse files

[feature] add bandwidth throttling to the client

Intercept the creation of the protocol factory in the HTTP connection
pool to use twisted.protocols.policies.ThrottlingFactory and control the
incoming and outgoing bandwidth.

The factory only controls one connection, so when throttling we limit
the number of connections of the pool to one per host. This way,
throttling happens in a per-host basis.

Closes: #8931
parent 106dc814
No related branches found
No related tags found
1 merge request!165#8931 - Add bandwidth throttling
Pipeline #
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment