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

Add option to skip external lookup where local user does exists #804

Closed
hikalkan opened this issue Feb 13, 2019 · 0 comments
Closed

Add option to skip external lookup where local user does exists #804

hikalkan opened this issue Feb 13, 2019 · 0 comments

Comments

@hikalkan
Copy link
Member

hikalkan commented Feb 13, 2019

Add a property named SkipExternalLookupIfLocalUserExists, true by default. If this is true, we should call external service only if requested user is not present in the local repository (db). This will reduce service-to-service calls. Users are not frequently updated and we are already getting distributed events when they are updated. So, normally we don't need to query remote service.

@hikalkan hikalkan added this to the 0.14 milestone Feb 13, 2019
@hikalkan hikalkan self-assigned this Feb 20, 2019
@hikalkan hikalkan changed the title UserLookupService improvements Add option to skip external lookup where local user does exists Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant