Opened 11 years ago
Closed 11 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.
Change History (3)
comment:1 by , 11 years ago
| Status: | new → review |
|---|
comment:2 by , 11 years ago
Self-review:
Works fine, no more "unregistered task" errors. Task is sent, received, and executed as expected :)

Branch here: https://gitorious.org/mediagoblin/moggers87-mediagoblin/source/garbage-branch
I will test on gmg.tpp in the mean time.