summaryrefslogtreecommitdiff
path: root/doc/source/conf.py
diff options
context:
space:
mode:
authorSamuel Merritt <sam@swiftstack.com>2012-06-12 17:33:18 -0700
committerSamuel Merritt <spam@andcheese.org>2012-06-27 12:31:21 -0700
commitf6c7fec991939e02c78ba8f34069772027eb70b8 (patch)
tree9be6bad5dd7c80d705a705c178e53329e6430eff /doc/source/conf.py
parent0519e58e2c29ffe5211f732bbf5356e21a7bfbf3 (diff)
downloadpython-swiftclient-f6c7fec991939e02c78ba8f34069772027eb70b8.tar.gz
Configurable concurrency for swift client.
The 'delete', 'download', and 'upload' commands use multiple threads for concurrency. However, the number of threads was hardcoded at 10. This patch simply makes those configurable. For example, if I'm downloading a lot of files but I don't want to saturate the downstream on my Internet connection, I might choose to use only 1 or 2 threads for object downloads. Conversely, if I'm uploading a lot of small files across a fast network, I would want lots of threads to speed things along. The default number of threads is 10, so the default behavior is unchanged. Change-Id: I64c06741b24ca97fef5ded206d7e898bf5cab3b8
Diffstat (limited to 'doc/source/conf.py')
0 files changed, 0 insertions, 0 deletions