Periodically clear Store's path info cache
Otherwise the queue runner can consider paths as valid that have been garbage-collected since the first time it queried them.
This commit is contained in:
		@@ -36,6 +36,8 @@ void State::queueMonitorLoop()
 | 
			
		||||
    unsigned int lastBuildId = 0;
 | 
			
		||||
 | 
			
		||||
    while (true) {
 | 
			
		||||
        localStore->clearPathInfoCache();
 | 
			
		||||
 | 
			
		||||
        bool done = getQueuedBuilds(*conn, destStore, lastBuildId);
 | 
			
		||||
 | 
			
		||||
        /* Sleep until we get notification from the database about an
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user