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

File not deleted after failure to upload #68

Open
rgaudin opened this issue May 9, 2024 · 0 comments
Open

File not deleted after failure to upload #68

rgaudin opened this issue May 9, 2024 · 0 comments
Labels
backend bug Something isn't working

Comments

@rgaudin
Copy link
Member

rgaudin commented May 9, 2024

When we give up trying to upload a file, it is left on the local filesystem.

This is due to our reliance on RQ's Retry mechanism for retries which does stop retrying the job after the requested number of attempts but does not inform us that attempts reached max.

Not knowing if this is the last execution, we can't delete the file.

We need to either finds a way to get this information or run clean up jobs. Maybe via FailedJobRegistry…

@rgaudin rgaudin added the bug Something isn't working label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant