srct / sks-rs

Rust implementation of the Synchronizing Key Server for PGP keys
Apache License 2.0
14 stars 1 forks source link

Add pooled Postgres connection handling for the database #6

Open techwizrd opened 6 years ago

techwizrd commented 6 years ago

While we currently have a Postgres database specified in the docker-compose.yml file, we do not actually connect to the database on start and there is no connection pool for request to use. Create one using Diesel and r2d2.

techwizrd commented 6 years ago

This is helpful documentation link: https://rocket.rs/guide/state/#databases