avoid deadlock

This commit is contained in:
Giovanni Harting 2021-07-12 02:22:20 +02:00
parent f14f9b706b
commit 5c94029952

View File

@ -518,6 +518,7 @@ func (b *BuildManager) parseWorker() {
dbPkg = dbPkg.Update().SetStatus(QUEUED).SaveX(context.Background())
dbLock.Unlock()
b.parseWG.Done()
b.build <- pkg
}
}