Closed Bug 1059378 Opened 10 years ago Closed 10 years ago

Cleanup old file_uploads

Categories

(Marketplace Graveyard :: Developer Pages, defect, P3)

Avenir
x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
2014-09-09

People

(Reporter: robhudson, Assigned: robhudson)

References

Details

(Whiteboard: [qa-])

File uploads store their uploaded file contents in a 'temp' folder. But these last forever and have no relation to an addon db record. These are temporary records yet we don't purge them ever.

Write a cron to
1. Remove the file from the filesystem.
2. Remove the db record.
for all records older than X days.

X could be 90 or whatever makes sense.
Priority: -- → P3
https://github.com/mozilla/zamboni/commit/2a61029
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Target Milestone: --- → 2014-09-09
You need to log in before you can comment on or make changes to this bug.