• Grzegorz Bizon's avatar
    Join with pending builds table to speed up queuing · d6fb267f
    Grzegorz Bizon authored
    This change makes it possible to perform a join with a separate table
    that stores the queue of pending builds.
    
    Instead of traversing a very large table that holds all builds that have
    been processed and these that are pending too, we maintain a small table
    that just stores a small amount of builds that are in the pending state.
    d6fb267f
builds.rb 12.4 KB