Signing is fast, so in case we have for example 10 BrewSignRPMEvents in a queue and we are handling the first one, it can happen that all the RPMs in advisory are actually signed while we are still handling message about the signing of the first one.
In that case, the first BrewSignRPMEvent generates ErrataAdvisoryRPMsSignedEvent, but other BrewSignRPMEvent for this particular advisory should be ignored, to not duplicate that ErrataAdvisoryRPMsSignedEvent. That's what this PR does.
Signing is fast, so in case we have for example 10 BrewSignRPMEvents in a queue and we are handling the first one, it can happen that all the RPMs in advisory are actually signed while we are still handling message about the signing of the first one.
In that case, the first BrewSignRPMEvent generates ErrataAdvisoryRPMsSignedEvent, but other BrewSignRPMEvent for this particular advisory should be ignored, to not duplicate that ErrataAdvisoryRPMsSignedEvent. That's what this PR does.