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

Refactoring MiniProfilerBaseOptionsExtensions.ExpireAndGetUnviewedAsync #617

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

profet23
Copy link

@profet23 profet23 commented Aug 8, 2022

Refactoring MiniProfilerBaseOptionsExtensions.ExpireAndGetUnviewedAsync to utilize a new overload of IAsyncStorage.SetViewedAsync that accepts multiple ids.
Adding PostgreSqlStorage implementation that can set multiple profilers as viewed in a single query.

This query is called a lot, so trying to reduce database round trips.

…nc to utilize a new overload of IAsyncStorage.SetViewedAsync that accepts multiple ids.

Adding PostgreSqlStorage implementation that can set multiple profilers as viewed in a single query.
@NickCraver
Copy link
Member

For this to happen, it'll need to wait for a 5.x release due to breaking a primary interface here for current implementers. I'll take a peek and surface looks sound, but it is breaking so want to give an early heads up on timing expectations.

@profet23
Copy link
Author

profet23 commented Aug 8, 2022

For this to happen, it'll need to wait for a 5.x release due to breaking a primary interface here for current implementers. I'll take a peek and surface looks sound, but it is breaking so want to give an early heads up on timing expectations.

It should be backwards compatible. I don't believe there are any breaking changes.

Ah nevermind, you were talking about third party implementers.

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

Successfully merging this pull request may close these issues.

2 participants