Skip to content

Commit 9da93a3

Browse files
authored
DPL: handle the case where shm is used fully (#7402)
1 parent 72357e3 commit 9da93a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Core/src/ComputingQuotaEvaluator.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ void ComputingQuotaEvaluator::handleExpired(std::function<void(ComputingQuotaOff
239239
// FIXME: offers should go through the driver client, not the monitoring
240240
// api.
241241
LOGP(INFO, "Offer {} expired. Giving back {}MB and {} cores", ref.index, offer.sharedMemory / 1000000, offer.cpu);
242-
assert(offer.sharedMemory > 0);
242+
assert(offer.sharedMemory >= 0);
243243
mStats.totalExpiredBytes += offer.sharedMemory;
244244
mStats.totalExpiredOffers++;
245245
expirator(offer, mStats);

0 commit comments

Comments
 (0)