You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: make Windows SQLite file lock retry more aggressive
Increased retry attempts and improved cleanup for Windows file locking:
Changes:
- Increased max attempts from 10 to 20
- Increased initial delay from 50ms to 100ms
- Capped max delay at 2 seconds
- Added SqliteConnection.ClearAllPools() before and during retries
- Added second GC.Collect() to clean up finalizer queue
- ErrorPathTests: Also delete WAL/SHM files
Windows + SQLite WAL mode can hold locks for several seconds after
disposal. These changes give more time for Windows to release locks.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
0 commit comments