Use @task(ignore_result=True) for all hazard tasks
Bug #894398 reported by
Muharem Hrnjadovic
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
High
|
Muharem Hrnjadovic |
Bug Description
The results returned by the hazard tasks are KVS keys and not utilised anywhere. We reconstitute the KVS keys instead and read the actual results from redis.
We thus *are* in the position to heed the advice of the celery author, Ask Solem:
> The queues you are seeing are the task's progress and results.
> If you don't need them you should disable them. You can do so
> by upgrading to the latest version (where results are disabled
> by default), or setting @task(ignore_
> tasks, or CELERY_
Changed in openquake: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Muharem Hrnjadovic (al-maisan) |
milestone: | none → 0.4.6 |
tags: | added: celery messaging performance rabbitmq |
Changed in openquake: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The following branch prepares the ground for ignoring the results of the hazard celery tasks: https:/ /github. com/gem/ openquake/ pull/587