Skip to main content

postgres

Function postgres 

Source
pub fn postgres(pool: PgPool) -> SqlStore
Expand description

Runlight’s tables in Postgres, on the app’s pool. The pool needs at least two connections: some work holds one while it reads through another.