mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-01 12:52:11 +03:00
upsertAllocations now propagates allocation rows to every pool in the same group. A key allocated to pool A in group G automatically gets an allocation row in pool B (same group), so enforceQuotaShare finds the row when the key calls pool B's model and applies fair-share. No change to apiKeyPolicy Check 3 (already group-correct via B5 groupSlug logic) or enforce.ts pool-match (works once propagation supplies the row).