ec_throttle_is_exceeded — check to see if a throttle is over budget
int **ec_throttle_is_exceeded** ( | name, | |
| | now, | |
| | later
); | |
This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.
check to see if a throttle is over budget
Given the current "now" time value, updates the "later" value to the duration after which the throttle would be under budget.
the name of the throttle
the current time
the when the throttle will be under budget
1 is over budget, 0 if under budget, -1 on error.
**Configuration Change. ** This feature is available starting from Momentum 3.0.8.