Repository navigation
feat: add bandwidth and guarded folder sync controls [skip release] - #43
Merged
Merged
Conversation
Owner
Author
|
Merged after all CI checks passed on Linux, macOS and Windows, plus frontend and browser checks. These transfer controls will be included in the next release. This merge does not publish a release. Added per-transfer bandwidth limits for newly queued transfers, and include/exclude filters plus skip-existing or guarded replacement in folder sync. The existing UI and ordinary file actions are preserved. Behavior, scope and limitations are documented in docs/TRANSFER_CONTROLS.md. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Safety and scope
Unlimited remains the default. Limits are per transfer, not an aggregate app cap, and do not affect existing jobs or server-side copies, previews or editor saves. Payload pacing can have buffered bursts and does not include protocol overhead.
Filters currently apply to folder sync, not ordinary upload/download actions. Relative, case-sensitive glob patterns are validated in Rust. Exclusions take priority. Filtered/skipped files are visible in the preview and never become upload jobs. Replacement still requires explicit approval and conditional-write guards. No deletion is introduced.
Slow multipart uploads check cancellation in their body stream and retain multipart abort cleanup. Upload timeouts allow deliberate pacing.
Validation
See docs/TRANSFER_CONTROLS.md for behavior and limitations. Intended for the next release; this PR does not publish a release.