Opened 7 years ago

Closed 7 years ago

#968 closed defect (fixed)

mediagoblin.submit.task.collect_garbage is not mediagoblin.submit.task.garbage_collection

Reported by: Matt Molyneaux Owned by:
Priority: trivial Milestone: 0.8.0
Component: programming Keywords: bitesized celery
Cc: Parent Tickets:

Description

The garbage collection task has not been specified correctly.

In mediagoblin/init/celery/init.py, mediagoblin.submit.task.garbage_collection is specified.

The task in mediagoblin/submit/task.py is called collect_garbage

Run celery with -l info to see the error produced.

Subtickets

Change History (3)

comment:1 Changed 7 years ago by Matt Molyneaux

Status: newreview

Branch here: https://gitorious.org/mediagoblin/moggers87-mediagoblin/source/garbage-branch

I will test on gmg.tpp in the mean time.

comment:2 Changed 7 years ago by Matt Molyneaux

Self-review:

Works fine, no more "unregistered task" errors. Task is sent, received, and executed as expected :)

comment:3 Changed 7 years ago by Christopher Allan Webber

Resolution: fixed
Status: reviewclosed

Merged, thank you!

Note: See TracTickets for help on using tickets.