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:
parent
8364f4ec70
commit
5810042a3b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue