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
The getProgressDocument function retrieves all matching records in a single request, which can cause performance issues when handling large datasets. This behavior needs to be improved by implementing pagination and a configurable limit parameter.
Expected Behavior
The API should allow clients to request data in manageable chunks, with a default limit of 100 records per request.
Clients should be able to specify a page and limit parameter to fetch subsequent records.
The response should include metadata (count, page, limit) to facilitate pagination on the client side.
Current Behavior
All matching records are retrieved and sent in a single response.
This approach can lead to excessive memory usage and slow performance, especially when dealing with large datasets.
The API currently lacks support for pagination and limits.
Issue Description
The getProgressDocument function retrieves all matching records in a single request, which can cause performance issues when handling large datasets. This behavior needs to be improved by implementing pagination and a configurable limit parameter.
Expected Behavior
Current Behavior
Screenshots
Reproducibility
Steps to Reproduce
Severity/Priority
Additional Information
Checklist
The text was updated successfully, but these errors were encountered: