Skip to content

Remove bogus free space check and use calculated size for logging#499

Open
tsautier wants to merge 1 commit into
drftpd-ng:masterfrom
tsautier:fix/issue-241
Open

Remove bogus free space check and use calculated size for logging#499
tsautier wants to merge 1 commit into
drftpd-ng:masterfrom
tsautier:fix/issue-241

Conversation

@tsautier

@tsautier tsautier commented Jan 14, 2026

Copy link
Copy Markdown

Problem

AutoFreeSpace plugin in "space" mode had a bogus check comparing previous and current free space to determine when to stop iterating. This check didn't account for new files being uploaded during the cleanup, causing incorrect behavior.

Solution

Fix the iteration check in AutoFreeSpace to properly track deletion progress.

Changes Made

  • Modified AutoFreeSpace.java to fix the space comparison logic
  • Iteration now correctly determines when enough space has been freed

Fixes: #241

@tsautier

Copy link
Copy Markdown
Author

@mvangoor @hrxcodes for review

@tsautier tsautier changed the title Fix/issue 241 Remove bogus free space check and use calculated size for logging Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AutoFreeSpace: Mode space has a bogus check to stop iterating

1 participant