mirror of
https://github.com/danbulant/discord.js
synced 2026-07-08 20:51:14 +00:00
docs(ClientOptions): document unit of restRequestTimeout (#3449)
This commit is contained in:
parent
8bbf1a9228
commit
4c08812302
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ const browser = exports.browser = typeof window !== 'undefined';
|
||||||
* corresponding websocket events
|
* corresponding websocket events
|
||||||
* @property {number} [restTimeOffset=500] Extra time in millseconds to wait before continuing to make REST
|
* @property {number} [restTimeOffset=500] Extra time in millseconds to wait before continuing to make REST
|
||||||
* requests (higher values will reduce rate-limiting errors on bad connections)
|
* requests (higher values will reduce rate-limiting errors on bad connections)
|
||||||
* @property {number} [restRequestTimeout=15000] Time to wait before cancelling a REST request
|
* @property {number} [restRequestTimeout=15000] Time to wait before cancelling a REST request, in milliseconds
|
||||||
* @property {number} [restSweepInterval=60] How frequently to delete inactive request buckets, in seconds
|
* @property {number} [restSweepInterval=60] How frequently to delete inactive request buckets, in seconds
|
||||||
* (or 0 for never)
|
* (or 0 for never)
|
||||||
* @property {number} [retryLimit=1] How many times to retry on 5XX errors (Infinity for indefinite amount of retries)
|
* @property {number} [retryLimit=1] How many times to retry on 5XX errors (Infinity for indefinite amount of retries)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue