mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 21:24:10 +00:00
- Remove _synchronous=NORMAL from DSN to preserve SQLite's default durability guarantees; WAL mode alone is sufficient for the fix - Add error handling for db.Exec and db.DB() in openTestDB helper - Use context.WithTimeout(5s) in with_fix sub-test to prevent hang on connection-never-released regression Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| model | ||
| concurrent_test.go | ||
| db.go | ||