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

CreateIndexes call in DbContext constructor #46

Open
iam-black opened this issue Apr 17, 2021 · 0 comments
Open

CreateIndexes call in DbContext constructor #46

iam-black opened this issue Apr 17, 2021 · 0 comments

Comments

@iam-black
Copy link

Hello. After some load testing I've noticed that both PersistedGrantDbContext and ConfigurationDbContext call CreateIndexes/ CreateClientsIndexes in constructor which results in noticeable load. As I can see there is no way to skip this behavior. Maybe it will be more reasonable to create indexes on app start?
image
image

Thanks.

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