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

fix(videos): do not clean up input videos when cancelling #174

Merged
merged 1 commit into from
Nov 25, 2023

Conversation

tthvo
Copy link
Contributor

@tthvo tthvo commented Nov 25, 2023

Welcome to PrivacyPal! 👋

Related to #171

Description of the change:

Cancelling cleanup should ignore input files.

Motivation for the change:

Retrying processing (same video) can just reuse the same input files. NextJS can do the clean up when the video is accepted or rejected.

@tthvo tthvo added fix Fixes for something broken area/back-end Back-end work labels Nov 25, 2023
@MyStackOverflows
Copy link
Contributor

MyStackOverflows commented Nov 25, 2023

hmm keeping the input video when the user may not retry with the same video might be a privacy concern though, due to uncensored videos being stored on the volume

@tthvo
Copy link
Contributor Author

tthvo commented Nov 25, 2023

hmm keeping the input video when the user may not retry with the same video might be a privacy concern though

Yes! Then, the user will need to specify: retry same video, reject and redo or accept. Eventually, reject and accept is the final action. So, input videos will be cleaned anyway.

Copy link
Contributor

@MyStackOverflows MyStackOverflows left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay, sounds good!

@tthvo tthvo merged commit 1a2e4a2 into develop Nov 25, 2023
10 checks passed
@tthvo tthvo deleted the gh-171-ignore-input branch November 25, 2023 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/back-end Back-end work fix Fixes for something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants