Commit 577eabd
committed
test(e2e): drop Cache=Shared from SQLite E2E connection string (TST-60)
Addresses gemini-code-assist[bot] medium finding on PR #949. SQLite's
shared-cache mode introduces internal table-level locking that can
actually increase SQLITE_BUSY contention in multi-threaded scenarios
compared to the default private-cache mode. Since the backend does not
enable WAL, Cache=Shared trades clearer reader/writer concurrency for
denser lock contention — the opposite of what we need for parallel E2E.
Keep `Pooling=True;Default Timeout=30`, which are the knobs that
actually help: connection reuse plus a generous busy-wait. Document
the rationale and note WAL as a future option.1 parent cb6fb1c commit 577eabd
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
33 | | - | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
0 commit comments