Closed necrophonic closed 5 years ago
In principle, sending the receipt before checking the file is fine. The receipting is confirmation that we have received the file from the respondent so this should happen as close to the upload as possible. Having it as part of the flow that does the scan result (re)requests is the issue.
Closing because this service doesn't receipt anymore
Currently sends receipt before checking the file through the AV service. This means that if the AV service is unavailable the receipt gets sent and the file re-queued, causing multiple receipts to be sent whilst waiting for the service to become available.
In
app/main.py
~ line 109: