Comment 6 for bug 1224453

Revision history for this message
Phil Day (philip-day) wrote :

Instead of trying to fix OverQuota logic in _check_num_instances_quota(), why not just repeatedly call QUOTAS.reserve with a decrementing valued until it works ? That would leave all of the quota checking logic inside the quota class - which is better from an abstraction perspective.