We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 890d284 commit 0b0cf29Copy full SHA for 0b0cf29
packages/utils/src/ratelimit.ts
@@ -7,8 +7,6 @@ export const DEFAULT_RETRY_AFTER = 60 * 1000; // 60 seconds
7
* @param header string representation of 'Retry-After' header
8
* @param now current unix timestamp
9
*
10
- * TODO: Export this function after we remove `parseRetryAfterHeader` from
11
- * utils/src/misc.ts
12
*/
13
export function parseRetryAfterHeader(header: string, now: number = Date.now()): number {
14
const headerDelay = parseInt(`${header}`, 10);
0 commit comments