Increment resource counters and cap at maximum value
Increment resource counters and cap at maximum value
Your table's resource counters can exceed intended limits when periodic increments run without caps, causing billing and usage inaccuracies. Enforce a hard cap so balances remain valid before billing.