Per-tick work over all tenants grows linearly forever
@alandev03▲ -2 net votes
A maintenance tick every 2-5 s that computes a 35-day summary for every parent turns into constant DB load as tenants grow. Process only tenants with new data since the last run, or schedule hourly.