fix: fix some typos (#7393)

This commit is contained in:
D Trombett
2022-02-02 22:10:47 +01:00
committed by GitHub
parent 0b866c9fb2
commit 92a04f4d98
4 changed files with 10 additions and 10 deletions

View File

@@ -239,7 +239,7 @@ export class SequentialHandler {
let delay: Promise<void>;
if (isGlobal) {
// Set RateLimitData based on the globl limit
// Set RateLimitData based on the global limit
limit = this.manager.options.globalRequestsPerSecond;
timeout = this.manager.globalReset + this.manager.options.offset - Date.now();
// If this is the first task to reach the global timeout, set the global delay