summaryrefslogtreecommitdiff
path: root/buildstream/_scheduler/queues/trackqueue.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_scheduler/queues/trackqueue.py')
-rw-r--r--buildstream/_scheduler/queues/trackqueue.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/buildstream/_scheduler/queues/trackqueue.py b/buildstream/_scheduler/queues/trackqueue.py
index d7e6546f3..72a79a532 100644
--- a/buildstream/_scheduler/queues/trackqueue.py
+++ b/buildstream/_scheduler/queues/trackqueue.py
@@ -53,9 +53,10 @@ class TrackQueue(Queue):
if status == JobStatus.FAIL:
return
- # Set the new refs in the main process one by one as they complete
+ # Set the new refs in the main process one by one as they complete,
+ # writing to bst files this time
for unique_id, new_ref in result:
source = Plugin._lookup(unique_id)
- source._save_ref(new_ref)
+ source._set_ref(new_ref, save=True)
element._tracking_done()