This repository has been archived by the owner on May 2, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SARAALERT-1480: Resolve ActiveJob::DeserializationError Download not …
…found error (#1076) This error appears when the Export Retry time is set lower than the Download Destroy Wait time. This configuration allows a User to perform another export before the DownloadsDestroyJob is run, causing the DeserializationError. When the User performs another export, the previous exports of the same type are destroyed. This causes the DeserializationError at most 45 minutes later. As before, even if the Download is not found for a different reason, it will be destroyed by the PurgeJob and not lingering in object storage. * Convert the Worker's perform call to use the Download ID instead of object so that a Download#exists? check can be performed before attempting to destroy.
- Loading branch information