-
Notifications
You must be signed in to change notification settings - Fork 4
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
optimize /dmadminweb/API/basecomponent/ #345
Comments
Also when using deployhub python library's function new component id: 8938 which is getting replaced with
|
Let me check on the queries to see if we can jump to the base component directly like you said. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently this API endpoint loops through
predecessorid
till it reaches null to find base component for a given component id.And it takes somewhere between 10-40 seconds to get a the basecomponent id for a component which has many versions.
Why not return the component with id=
parentid
which is the id of the basecomponent and if it's null then just return the component itself?This will make this API endpoint a lot faster.
The text was updated successfully, but these errors were encountered: