We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55a3309 commit 883fe3fCopy full SHA for 883fe3f
src/lib/rate-limit.ts
@@ -1,9 +1,9 @@
1
-import { sleep } from "bun"
2
import consola from "consola"
3
4
import type { State } from "./state"
5
6
import { HTTPError } from "./http-error"
+import { sleep } from "./sleep"
7
8
export async function checkRateLimit(state: State) {
9
if (state.rateLimitSeconds === undefined) return
0 commit comments