mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: base work
This commit is contained in:
1 parent
9d715c23e5
commit
310640c1ec
6 files changed
+38
-10
No files matched your search
@@ -10,7 +10,8 @@ type BlitzResponse<Data extends object> =
|
||||
data: Data;
|
||||
};
|
||||
|
||||
const MAX_CALLS_PER_SECOND = 10;
|
||||
// 1 less than 10 to ensure not bad things lol
|
||||
const MAX_CALLS_PER_SECOND = 9;
|
||||
|
||||
const queue: { url: string; resolve: (data: object) => void }[] = [];
|
||||
let inProgress = 0;
|
||||
|
||||
Reference in new issue
Block a user