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
fix(shared): prevent infinite loop in ThrottledFetchingService
The pagination loop in `ThrottledFetchingService` was vulnerable to an infinite loop if the API returned `hasMore: true` with a `null` cursor.
This change makes the loop condition more robust by ensuring it terminates if the cursor becomes null, thus preventing the service from repeatedly re-fetching the first page.
Additionally, a large block of dead code and confusing comments related to a non-functional batching strategy has been removed to improve code clarity and maintainability.
0 commit comments