Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add configuration option whether to trash or delete files/dirs #324

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

g3n35i5
Copy link
Collaborator

@g3n35i5 g3n35i5 commented Dec 10, 2024

Trashing files obviously doesn't delete them immediately. This causes issues when migrating large USDB databases (thousands of files in the trash bin and no space left on the disk).

As a workaround, I suggest adding an optional environment variable SYNCER_CLEANUP_DELETE_IMMEDIATELY which, when set, deletes files and directories immediately instead of trashing them.

Trashing files obviously doesn't delete them immediately. This causes
issues when migrating large USDB databases (thousands of files in the
trash bin and no space left on the disk).

As a workaround, I suggest adding an optional environment variable
`SYNCER_CLEANUP_DELETE_IMMEDIATELY` which, when set, deletes files and
directories immediately instead of trashing them.
@g3n35i5 g3n35i5 force-pushed the feat/cleanup-immediately branch from b65dd6c to 6b2fad6 Compare December 10, 2024 17:18
@g3n35i5 g3n35i5 requested review from bohning and RumovZ December 10, 2024 17:19
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.

1 participant