Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

threads param cleanup #271

Merged
merged 1 commit into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,6 @@ B2 Storage service. Each different command may required additional
capabilities. You can find the details for each command in the help for
that command.

### Parallelism and the `--threads` parameter

Users with high performance networks, file sets with very small files, or high network latency, will usually benefit from increased parallelism. Experiment with using the `--threads` parameter to increase performance.

Note that using many threads could in some cases be detrimental to the other users on your network.

### Docker image

#### Authorization
Expand Down
3 changes: 1 addition & 2 deletions b2/_internal/console_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ def _setup_parser(cls, parser):

class ThreadsMixin(Described):
"""
Use --threads to manually adjust number of threads used in the operation.
Use --threads to manually adjust the number of threads used in the operation.
Otherwise, the number of threads will be automatically chosen.
"""

Expand Down Expand Up @@ -3222,7 +3222,6 @@ class UploadFileMixin(

The maximum number of upload threads to use to upload parts of a large file is specified by ``--threads``.
It has no effect on "small" files (under 200MB as of writing this).
Default is 10.

Each fileInfo is of the form ``a=b``.
"""
Expand Down
Loading