skip known tagrevs

this should speed up the queue generation
This commit is contained in:
Giovanni Harting 2023-05-25 21:19:46 +02:00
parent cb93fda659
commit 7b0cf88367

View File

@ -607,6 +607,10 @@ func (b *BuildManager) genQueue() ([]*ProtoPackage, error) {
}
}
if pkg.DBPackage.TagRev != nil && *pkg.DBPackage.TagRev == state.TagRev {
continue
}
if !pkg.isEligible(context.Background()) {
continue
}