-
Notifications
You must be signed in to change notification settings - Fork 21
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
Appeal create take more time #300
Comments
For this we will move from gorm and we can optimize the way we fetch data from the DB (utilize join, introduce index, etc) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Appeal creation starts taking more time as policies, and grants grow. One of the reasons is that we load all the policies, grants, and providers instead of the id by query on (policy id, policy version), resource id etc.
Expected behavior
The appeal creation API shouldn't take more than ~ 40-50 ms
The text was updated successfully, but these errors were encountered: