mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
max ids
This commit is contained in:
1 parent
0cd01fa258
commit
578d4a3ff2
1 file changed
+1
-1
@@ -31,7 +31,7 @@ const MAX_BYTES_PER_CHUNK = 100 * 1_000_000; // 100MB
|
|||||||
|
|
||||||
const MAX_IDS_PER_CALL = 100;
|
const MAX_IDS_PER_CALL = 100;
|
||||||
const API_RATE = 10; // 10Hz
|
const API_RATE = 10; // 10Hz
|
||||||
const MAX_DRY_STREAK = 2_000;
|
const MAX_DRY_STREAK = 10_000;
|
||||||
|
|
||||||
const chunkCount = Math.ceil(
|
const chunkCount = Math.ceil(
|
||||||
(ACCOMMODATED_ID_COUNT * Uint32Array.BYTES_PER_ELEMENT) / MAX_BYTES_PER_CHUNK,
|
(ACCOMMODATED_ID_COUNT * Uint32Array.BYTES_PER_ELEMENT) / MAX_BYTES_PER_CHUNK,
|
||||||
|
|||||||
Reference in new issue
Block a user