pub async fn init_ro_pool(
config: &DbConfig,
kind: DbKind,
) -> Result<Db, KipukaError>Expand description
Initialize a read-only connection pool for GET handlers.
For SQLite file-backed databases, this opens a ?mode=ro pool that
never acquires the write lock, enabling concurrent reads during writes
(WAL concurrency benefit). For :memory: and non-SQLite backends,
returns a clone of the primary pool.