mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-30 14:56:19 +00:00
<!-- Describe what has changed in this PR --> **What changed?** I renamed and restructured the quotas.CalculateEffectiveResourceLimit function and quotas. NamespaceCountLimitInterceptor struct. <!-- Tell your future self why have you made these changes --> **Why?** For NamespaceCountLimitInterceptor , I think `NamespaceCount` doesn't really explain what it does. For CalculateEffectiveResourceLimit, I think this object is a bit easier to use. <!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? --> **How did you test it?** Existing tests (which were also refactored). <!-- Assuming the worst case, what can be broken when deploying this change to production? --> **Potential risks** No behavioral changes. <!-- Is this PR a hotfix candidate or require that a notification be sent to the broader community? (Yes/No) --> **Is hotfix candidate?**