-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Subprojects page is throwing 502s #6455
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
Comments
Just loading the page https://readthedocs.org/projects/circuitpython/ I can see it takes a long time to load... I think this is because we are calling the resolver for each subproject (to get the docs URL). We need to optimize this somehow. |
@stsewd Let us know if there is a sponsor tier we can join to help get this fixed. I'm personally a gold member but we aren't as a company. |
Our |
@humitos or whomever else; please let us know what we can do to help get this addressed. It's impacting part of our process for documenting our libraries |
Hi @siddacious! I took a look at the code and it really needs a refactor. Although, it does not look as a small refactor or easy to attack. I got lost very quickly while trying to make some performance improvements. Unfortunately, I don't have the time or energy currently to focus 100% on this problem but I will keep thinking on a different approach for a solution (at least an acceptable hack) for now. If someone else has some ideas about how we can optimize this code to avoid this problems, we would be happy to help. |
@siddacious we're going to get this on our short term roadmap, it's a pretty clear bug of our subproject handling. I think we understand what needs to change, but if there is a short term fix that can fix the bug for your projects, we'll see about temporarily putting that in place for your projects. |
@agjohnson Awesome, great to hear. Thank you! |
Thank you @stsewd ! Looks like you folks have a roughly weekly release cadence? Much appreciated, great work :) |
@siddacious sorry for the delay resolving this issue, we are doing a release today, hopefully in a couple of hours we can check if the merged PRs were enough. #6867 is still missing, but I hope that whit what already have is enough to stop the 500. |
@siddacious it should be out now, can you please confirm it that fixed the problem? |
This is related to #6455 We list all subprojects on the detail view too. It doesn't throw a 5xx, but it's slow https://readthedocs.org/projects/circuitpython/
@stsewd Yes, it's fixed! Thank you :) |
Details
This is the same issue as #6027, with the same project
https://readthedocs.org/projects/circuitpython/
siddacious
Expected Result
Going to https://readthedocs.org/dashboard/circuitpython/subprojects/
should load within a second or two
Actual Result
Recently I will often get a 502 when loading the subprojects admin page. When I don't, I almost always get a 502 upon submitting the form, though the addition appears to be successful
The text was updated successfully, but these errors were encountered: