diff options
author | axapaxa <axapaxa@onet.pl> | 2021-01-03 11:37:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-03 17:37:16 +0100 |
commit | b291b919627ff28e198b88c8511a4c50b9b39a3e (patch) | |
tree | b3efa95966b8af7e53385e04031cb81f7e1f2d15 /scripts | |
parent | 2851a840034507bf652aa880bb1443f7e8094ecf (diff) |
Add remote upload buffer (--remote-buffer) (#5574)
add remote upload buffer (--remote-buffer)
- added new option --remote-buffer
- allow to_send to grow to selected size
- don't grow if wait is specified
- fill pipe on any command (including 'async_response')
- add new option to docs
- create EfficientBytesQueue to prevent recreation of buffer each time we send something
- add tests for EfficientBytesQueue
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/shell_completions/zsh/_borg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/shell_completions/zsh/_borg b/scripts/shell_completions/zsh/_borg index b6a91a84a..d97fc3b15 100644 --- a/scripts/shell_completions/zsh/_borg +++ b/scripts/shell_completions/zsh/_borg @@ -650,6 +650,7 @@ __borg_setup_common_options() { '--umask=[set umask to M (local only, default: 0077)]:M' '--remote-path=[set remote path to executable (default: "borg")]: :_cmdstring' '--remote-ratelimit=[set remote network upload rate limit in kiByte/s (default: 0=unlimited)]: : _borg_guard_unsigned_number "RATE"' + '--remote-buffer=[set upload buffer size in MiB. (default: 0=no buffer)]: : _borg_guard_unsigned_number "UPLOAD_BUFFER"' '--consider-part-files[treat part files like normal files (e.g. to list/extract them)]' '--debug-profile=[write execution profile in Borg format into FILE]:FILE:_files' '--rsh=[use COMMAND instead of ssh]: :_cmdstring' |