Cleanup old file_uploads

RESOLVED FIXED in 2014-09-09

Status

P3
normal
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: robhudson, Assigned: robhudson)

Tracking

Avenir
2014-09-09
x86
Mac OS X
Points:
---
Dependency tree / graph

Details

(Whiteboard: [qa-])

(Assignee)

Description

4 years ago
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.

Updated

4 years ago
Priority: -- → P3
(Assignee)

Comment 1

4 years ago
https://github.com/mozilla/zamboni/commit/2a61029
Status: NEW → RESOLVED
Last Resolved: 4 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.