Distinguishing WAL checkpoint wait from connection pool exhaustion in SQLite
The goal is to understand how SQLite WAL mode interacts with an application-level connection pool under high concurrency, and whether apparent pool exhaustion reflects lock wait or actual resource depletion. WAL retains read locks on the database file until a checkpoint completes, which can make readers appear blocked. The per-connection PRAGMA busy_timeout