diff --git a/src/lib/api/garden.ts b/src/lib/api/garden.ts index 27102bd8..2d1aaac5 100644 --- a/src/lib/api/garden.ts +++ b/src/lib/api/garden.ts @@ -80,8 +80,8 @@ export const getAllListedGardens = async () => { Object.assign(!existingGardens ? {} : existingGardens, newGardens) ); - // Wait 2 seconds before fetching the next chunk - await new Promise((resolve) => setTimeout(() => resolve(), 2000)); + // Wait 100ms seconds before fetching the next chunk + await new Promise((resolve) => setTimeout(() => resolve(), 100)); } while (startAfterDoc != null && iteration < LOOP_LIMIT_ITEMS / CHUNK_SIZE); isFetchingGardens.set(false);