Closed
Bug 803558
Opened 12 years ago
Closed 12 years ago
Update manifest checking to retry before throwing to re-review
Categories
(Marketplace Graveyard :: Reviewer Tools, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
2012-11-01
People
(Reporter: robhudson, Assigned: ashort)
References
Details
Problem: There are a lot of hosted apps whose manifests are unavailable for whatever network reason when the crons check them daily. This results in ~75% of the re-review queue being populated by apps that, when manually checked by the reviewers, are fine. Idea for solution: Update this task to retry in an hour if it fails the first time. If retry count is 3 (we've checked it 3 times and it is still failing), throw it into the re-review queue. Notes: Celery seems to be able to handle this... tasks have a retry call that takes a countdown arg (in seconds). Tasks also keep track of their retries available in `task.request.retries` it looks like. The current code lives here: https://github.com/mozilla/zamboni/blob/master/mkt/webapps/tasks.py L88 is where we are currently throwing it to re-review whenever there is any exception in fetching the manifest.
Updated•12 years ago
|
Assignee: nobody → ashort
Priority: -- → P3
Target Milestone: --- → 2012-10-25
Assignee | ||
Updated•12 years ago
|
Target Milestone: 2012-10-25 → 2012-11-01
Assignee | ||
Comment 1•12 years ago
|
||
https://github.com/mozilla/zamboni/commit/f8eb5f57fb https://github.com/mozilla/zamboni/commit/b4ca832c17
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•