async fn tune_local(connection: &Connection, in_memory: bool) -> Result<()>Expand description
Waits up to 5 s for a lock and, outside :memory:, switches to WAL, since
an admin token mint beside live traffic otherwise fails SQLITE_BUSY as a 500.
Remote libSQL manages its own storage and is never tuned.