warren830 opened a new issue, #3593:
URL: https://github.com/apache/incubator-devlake/issues/3593

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   
![img_v2_5269f616-1c95-434f-a0a0-29a24f18cfag](https://user-images.githubusercontent.com/39366025/198223634-7c973cbd-d83a-4910-99de-57bf8fd0516c.png)
   According to the code snippet above, we don't have a limit pageSize for 
pager. Also, if we don't set pageSize or page for param `query`, this func will 
return all  blueprints.
   
   ### What do you expect to happen
   
   We should have a limit page to prevent server overload
   
   ### How to reproduce
   
   request api without setting pageSize or page
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   main
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to