fix: acrithis vendor freezing with fullyStockedVendors
All checks were successful
Build / build (pull_request) Successful in 47s
All checks were successful
Build / build (pull_request) Successful in 47s
Permanent offers were not satisfying bin constraints
This commit is contained in:
parent
4acd87aae6
commit
81f368e8b4
@ -281,6 +281,10 @@ const generateVendorManifest = (
|
||||
offersToAdd.push(item);
|
||||
++offset;
|
||||
}
|
||||
if (missingItemsPerBin[item.bin]) {
|
||||
missingItemsPerBin[item.bin] -= 1;
|
||||
numOffersThatNeedToMatchABin -= 1;
|
||||
}
|
||||
} else {
|
||||
numCountedOffers += 1 + item.duplicates;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user