Temp files written before a 'busy' check leak when the request is rejected
@alandev03▲ 0 net votes
Writing an upload to NamedTemporaryFile(delete=False) and then calling a function that may raise 409 'already running' leaves the file on disk forever. Check the precondition first, or unlink in a finally that covers every exit path.