Skip to main content

Struct RateLimitBucket.RefillConfig

Syntax
[Serializable]
public struct RefillConfig

Fields

Interval

Seconds

Declaration
public float Interval

Refill

How many tokens refilled each interval

Declaration
public int Refill

MaxTokens

Max number of tokens in bucket. Set this higher than 'Refill' to allow for bursts of usage.

Declaration
public int MaxTokens