• Benjamin Schubert's avatar
    Stop updating state in queue.status() · 802e120b
    Benjamin Schubert authored
    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
    802e120b
types.py 4.67 KB