Skip to content

Add provider check to SqliteBusyTimeout interceptor#24448

Merged
salihozkara merged 2 commits intorel-10.0from
salihozkara/sqlite
Dec 19, 2025
Merged

Add provider check to SqliteBusyTimeout interceptor#24448
salihozkara merged 2 commits intorel-10.0from
salihozkara/sqlite

Conversation

@salihozkara
Copy link
Member

Updated SqliteBusyTimeoutSaveChangesInterceptor to execute the PRAGMA command only if the DbContext is using the Sqlite provider. This prevents unnecessary execution for non-Sqlite databases.

@maliming
Copy link
Member

hi @salihozkara

I added some new code. Can you confirm if it works?

c044779

Thanks.

salihozkara and others added 2 commits December 19, 2025 09:49
Updated SqliteBusyTimeoutSaveChangesInterceptor to execute the PRAGMA command only if the DbContext is using the Sqlite provider. This prevents unnecessary execution for non-Sqlite databases.
@maliming maliming changed the base branch from dev to rel-10.0 December 19, 2025 01:50
@maliming maliming modified the milestones: 10.1-preview, 10.0-patch Dec 19, 2025
@salihozkara salihozkara merged commit 5c3b7cd into rel-10.0 Dec 19, 2025
3 checks passed
@salihozkara salihozkara deleted the salihozkara/sqlite branch December 19, 2025 06:18
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