@@ -192,6 +192,8 @@ bool State::getQueuedBuilds(Connection & conn, ref<Store> localStore,
 | 
			
		||||
                nrBuildsDone++;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            enqueueNotificationItem({NotificationItem::Type::BuildFinished, build->id});
 | 
			
		||||
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
@@ -224,6 +226,8 @@ bool State::getQueuedBuilds(Connection & conn, ref<Store> localStore,
 | 
			
		||||
 | 
			
		||||
            build->finishedInDB = true;
 | 
			
		||||
 | 
			
		||||
            enqueueNotificationItem({NotificationItem::Type::BuildFinished, build->id});
 | 
			
		||||
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user