Merge lp:~jameinel/maas/ignore_results into lp:~maas-committers/maas/trunk
Proposed by
John A Meinel
Status: | Merged |
---|---|
Approved by: | John A Meinel |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1179 |
Proposed branch: | lp:~jameinel/maas/ignore_results |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
36 lines (+4/-4) 1 file modified
src/provisioningserver/tasks.py (+4/-4) |
To merge this branch: | bzr merge lp:~jameinel/maas/ignore_results |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeroen T. Vermeulen (community) | Approve | ||
Review via email: mp+128204@code.launchpad.net |
Commit message
Pass ignore_result=True to all current celery tasks.
With celery, you are meant to fire off a job, and then grab the
result object and wait for it. The design of all current jobs is
that they just trigger and you never wait for the result.
If you don't ignore the results, then the queues build up forever
and stay alive because they wait for someone to read the result.
Description of the change
See commit message
To post a comment you must log in.
I thought we had a global setting for this somewhere. If there's any more of this, maybe we need our own wrapper for @task.