-
Notifications
You must be signed in to change notification settings - Fork 5
Labels
bugSomething isn't workingSomething isn't working
Description
Problem
When loading manager-ui on specific instances with huge amounts of content items the instances api service crashes and restarts.
Upon investigation, on load there is an api call to /search/items?q=&limit=10000, the 10k limit is quite huge, there are times that the api eventually responds and the raw resource size is 100mb+. Refreshing this instance several times would sometimes cause the instances api service to crash and restart.
Screenshots
Steps to reproduce
Steps to reproduce the behavior:
- Go to a customer instance with a lot of content items
- Check network tab, on manager-ui load, there is an api call to the search endpoint with 10k limit
- Leave it to try and resolve the response for a minute or so
- Refresh the page then leave it again for a minute or so
- Doing this over and over would eventually take down the service and the api calls to the instances api end up in CORS errors
Expected behavior
The limit should be lowered down as 10k is too much
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working