Property PreemptiveRatelimitBuffer
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
PreemptiveRatelimitBuffer
Gets or sets the safety buffer added to preemptive rate-limit timing. This margin extends the preemptive wait slightly past the server-advertised reset boundary, absorbing clock drift and network jitter to prevent real 429 responses at bucket edges.
public TimeSpan PreemptiveRatelimitBuffer { get; set; }
Property Value
Remarks
Must be non-negative and at most 5 seconds. Defaults to 250 milliseconds.
Set to Zero to disable the buffer (trust server timing exactly).
The buffer is applied to preemptive delay computation, bucket window reopening, and post-429 retry delays.