We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8075c10 commit 8b69f4bCopy full SHA for 8b69f4b
1 file changed
api/models.py
@@ -188,10 +188,9 @@ def build(self):
188
return
189
190
def destroy(self, *args, **kwargs):
191
- app_tasks = [tasks.destroy_app.si(a) for a in self.app_set.all()]
192
node_tasks = [tasks.destroy_node.si(n) for n in self.node_set.all()]
193
layer_tasks = [tasks.destroy_layer.si(l) for l in self.layer_set.all()]
194
- group(app_tasks + node_tasks).apply_async().join()
+ group(node_tasks).apply_async().join()
195
group(layer_tasks).apply_async().join()
196
CM.purge_formation(self.flat())
197
self.delete()
0 commit comments