Provide a celery task init() function
Bug #827349 reported by
Muharem Hrnjadovic
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
High
|
Anton Gritsay |
Bug Description
The celery task init() function will be called by every celery task. If it returns False the task will terminate immediately.
The init() function should
- check whether the job in question is still alive and return False if this is not the case
- initialise logging using a logger adapter object, http://
tags: | added: celery job-supervision |
Changed in openquake: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → 0.4.3 |
Changed in openquake: | |
assignee: | nobody → Anton Gritsay (angri) |
status: | Confirmed → In Progress |
Changed in openquake: | |
status: | In Progress → Fix Committed |
Changed in openquake: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.