Limit renewals impact on storage

Each certification has an entry in the storage item StorageCertsRemovableOn, and each time it is renewed, a new one is added without deleting the previous one. Since I fixed the (main) certification renewal (

  • it was not handled at all !159
  • it was not taking into account certification period !165

), the problem is mitigated, but for membership renewal, there is no rate limit and each renewal leads to a new entry in the storage item MembershipsExpireOn allowing spam to grow the size of this storage a lot.

Related subjects:

My current idea is that every renewal (cert, membership, or other) should unschedule the removal before scheduling a new removal. This is necessary and not a lot of work.