You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We were iterating over several objects like teams and user owners in
order to get projects, and also checking if the organization attached to
that object didn't have SSO with VCS enabled. So instead of doing that
I'm just doing one query, which ignores all objects from organizations
that have SSO with VCS enabled.
Also, instead of calling _get_projects_for_sso_user twice, I adapted
that method so it can fetch projects from where the user is admin or
member in just one call (similar to what the other methods do).
All these changes reduce the number of queries used in the dashboard on
.com
0 commit comments