Skip to content
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

get_user_by_email potentially slow #2

Open
ale-rt opened this issue Jun 5, 2019 · 0 comments
Open

get_user_by_email potentially slow #2

ale-rt opened this issue Jun 5, 2019 · 0 comments

Comments

@ale-rt
Copy link
Member

ale-rt commented Jun 5, 2019

With lots of user the function get_user_by_email can be potentially slow on sites with lots of user because of the call to pm.searchMembers('email', email).
Anyway such sites can potentially custom PAS plugins/addons/customizations that might be used to perform the task in a more performant way (e.g. ldap/SQL/membrane_catalog queries).

For this reason it would be great to have, in the long run, that task performed by a utility view, but in the meanwhile adapters can be used to customize that function behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant