Skip to content

Add helpers to convert BandwidthLimit into a limiter - #1191

Merged
oferchen merged 1 commit into
masterfrom
implement-missing-components-for-oc-rsync
Oct 27, 2025
Merged

oferchen merged 1 commit into
masterfrom
implement-missing-components-for-oc-rsync

Conversation

@oferchen

@oferchen oferchen commented Oct 27, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • expose helper methods on BandwidthLimit for constructing BandwidthLimiter instances used during throttling
  • cover the new conversion helpers with focused unit tests

Testing

  • cargo test -p rsync-core bandwidth_limit_to_limiter_preserves_rate_and_burst
  • cargo test -p rsync-core bandwidth_limit_into_limiter_transfers_configuration

@oferchen
oferchen merged commit 5818cb3 into master Oct 27, 2025
@oferchen
oferchen deleted the implement-missing-components-for-oc-rsync branch October 27, 2025 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant