-
- Downloads
Stop updating state in queue.status()
Statuses of an element can be changed when: 1) It is pulled 2) It is fetched 3) It is workspaced and it finished building 4) One of its dependencies is tracked 5) One of its dependencies is workspaced and finished building We can therefore update the statuses at those moments and we don't need to check all the time. This reduces considerably the calls to update_states that are done
Showing
- buildstream/_scheduler/queues/buildqueue.py 0 additions, 3 deletionsbuildstream/_scheduler/queues/buildqueue.py
- buildstream/_scheduler/queues/fetchqueue.py 0 additions, 3 deletionsbuildstream/_scheduler/queues/fetchqueue.py
- buildstream/_scheduler/queues/pullqueue.py 0 additions, 3 deletionsbuildstream/_scheduler/queues/pullqueue.py
- buildstream/element.py 23 additions, 0 deletionsbuildstream/element.py
Loading
Please register or sign in to comment