You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(shared): add configurable delay to ThrottledFetchingService
Enhances the `ThrottledFetchingService` to be a better API citizen by introducing a configurable delay between sequential page fetches.
- Adds a `delayBetweenRequests` parameter to the `fetchAll` method with a default of 200ms.
- Implements `Future.delayed` within the pagination loop to throttle requests.
- Removes the unused `batchSize` parameter to clean up the method signature.
This prevents overwhelming the server with rapid-fire requests when fetching a large number of pages.
0 commit comments