Details
Description
The round-robin priority schedule used by the abstract module to choose a module row should consider the account limit setting.
Currently, it only considers the total. By not considering the account limit for a module row, it's possible to exceed it.
Consider 2 module rows added in a group:
- Used 5, limit 5
- Used 5, limit 10
In this case, round-robin would choose the first option, exceeding the limit.
i.e.
- Used 6, limit 5
- Used 5, limit 10
However, it is preferable to select all module rows that have not yet been exceeded before exceeding them. CORE-2138 would then make this soft limit into a hard limit of not exceeding them at all.