As of · 0 account(s) ·
undefined cannot place a call right now ·
node node-a
Every account is a balance with a credit line.
Credit is how far below zero the balance may go
(credit_limit holds it as a negative number; none means the
account stops at zero). Reserved is what is set aside for
calls that are up but not yet billed — that is what stops a hundred
simultaneous calls from each spending the same money. When available reaches
zero, new calls get 402 and calls in progress are cut off by a timer set
when they were answered.
The only control that acts in real time, and the only thing that protects an account with a credit line from a stolen password. It counts money reserved, not money billed, so it bites while an attack is happening rather than minutes later when the calls are rated.
customers.spend_cap_hour.Refreshes every 20 seconds.
On the command line: make credit-check,
make credit-refused.