-
Notifications
You must be signed in to change notification settings - Fork 984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Admin list all episodes/seasons for tv shows api request never ending and large data #103
Comments
Wow .. that looks pretty bad! how many episodes do you have for that show? It shouldnt be 200mb at least.. I've looked into performance there already, and I will do more, but that seems more like a bug than anything else. Does this happen with any other show? Is there anything specific for that show that is worth mentioning and might bring me closer to a bugfix? |
The show has 220 episodes uploaded and about 4 seasons. |
I think the issue is that each episode that is returned has a "nextEpsiode" property which continues to chain down through every episode until the last one in the series. Which is just excess data and only needs to show the direct next episode not two, five, or twenty down the chain. Or else episode one will chain all the way down to 220 then the second one will be 219 episodes long and etc. |
I believe this line of code is the culprit. This line needs to somehow limit the number of results returned to 1. I don't know any groovy myself or else I would have created a PR. |
Should be fixed! please let me know |
Yes that fixed it, thank you. |
See below:
It kept climbing up to 200mb before I left the page and cancelled the request
The text was updated successfully, but these errors were encountered: