-
Notifications
You must be signed in to change notification settings - Fork 899
config properties rate_limiter properties otp_limits
GitHub Action edited this page Nov 7, 2024
·
2 revisions
v1.2.1
object
(Details)
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
tokens | integer |
Required | cannot be null | Config |
interval | string |
Required | cannot be null | Config |
tokens
determines how many operations/requests can occur in the given interval
.
tokens
-
is required
-
cannot be null
integer
The default value is:
3
interval
determines when to reset the token interval.
It must be a (possibly signed) sequence of decimal
numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m".
Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
interval
-
is required
-
cannot be null
string
The default value is:
"1m"