Skip to content

Fix bandwidth limiter burst clearing semantics - #1518

Merged
oferchen merged 1 commit into
masterfrom
fix-module_bwlimit_zero_burst-test-failure
Oct 29, 2025
Merged

oferchen merged 1 commit into
masterfrom
fix-module_bwlimit_zero_burst-test-failure

Conversation

@oferchen

@oferchen oferchen commented Oct 29, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • ensure BandwidthLimitComponents::new_with_flags preserves explicit burst clearing requests when a rate is provided
  • add a regression test covering the burst-clearing scenario
  • drop the now-unused daemon import of apply_effective_limit

Testing

  • cargo test -p rsync-daemon module_bwlimit_zero_burst_clears_existing_burst
  • cargo clippy -p rsync-daemon --all-targets -- -Dwarnings

@oferchen
oferchen merged commit 4620173 into master Oct 29, 2025
@oferchen
oferchen deleted the fix-module_bwlimit_zero_burst-test-failure branch October 29, 2025 10:31
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