magma / domain-proxy

A Domain proxy for Magma
BSD 3-Clause "New" or "Revised" License
1 stars 6 forks source link

Remove idle grants in grant manager #560

Closed hejjestemjarek closed 1 year ago

hejjestemjarek commented 2 years ago

grant manager in amc manager should handle idle grants: for each idle grant it should unset frequency and generate actions for delete of those grants then if there were any deleted grants it should also generate update frequencies for cbsd request (note that this condition "if there were any deleted grants", is so that were are not doing unnecessary empty updates) and then continue as usual (but remember to skip deleted grants)

First check if there are any idle grants, and if there are any:

hejjestemjarek commented 2 years ago

https://github.com/magma/magma/pull/13981