Ensure clean up of uploaded file if job fails. #9
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "failed-job-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Previously if a job failed and it's status was set to
JobStatus.FAILED
the uploadedfile was never removed. Which was the intended design. This was an omission.
Now if the job is set to FAILED, the uploaded file will be removed correctly.
This is to ensure that uploaded files do not persist in perpetuity on the file system.
FileMetadata will still be available in the DB (B.N. not the actual file).