diff options
author | drebs <drebs@leap.se> | 2017-11-23 16:05:51 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2017-11-29 13:08:26 -0200 |
commit | 02c6c19687fac181ef3e3250f8de5dd85e10d11e (patch) | |
tree | a43195aca948231c1c3a3d5fe0d648d1947885e2 /docs | |
parent | 106dc814118d05a26861ba2e3c3d83f7e2764f96 (diff) |
[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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/environment_variables.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/reference/environment_variables.rst b/docs/reference/environment_variables.rst index 321c925c..9b441e86 100644 --- a/docs/reference/environment_variables.rst +++ b/docs/reference/environment_variables.rst @@ -6,11 +6,12 @@ Some environment variables affect the behaviour of Soledad: ============================== =============== ================================= variable affects description ============================== =============== ================================= -``SOLEDAD_COUCH_URL`` server override the CouchDB url. ``SOLEDAD_HTTP_PERSIST`` client persist HTTP connections. +``SOLEDAD_THROTTLING`` client enable bandwidth throttling. ``SOLEDAD_USE_PYTHON_LOGGING`` client / server use python logging instead of twisted's logger. ``SOLEDAD_LOG_TO_STDOUT`` client / server log to standard output. +``SOLEDAD_COUCH_URL`` server override the CouchDB url. ``SOLEDAD_SERVER_CONFIG_FILE`` server use this configuration file instead of the default one. ``LOCAL_SERVICES_PORT`` server which port to use for local |