postgres-example: update usage

This commit is contained in:
asonix 2024-01-10 21:15:31 -06:00
parent 42bc58bc94
commit b0beaad10a

View file

@ -32,8 +32,11 @@ async fn main() -> anyhow::Result<()> {
.init();
// Set up our Storage
let storage =
Storage::connect("postgres://postgres:postgres@localhost:5432/db".parse()?).await?;
let storage = Storage::connect(
"postgres://postgres:postgres@localhost:5432/db".parse()?,
None,
)
.await?;
let arbiter = Arbiter::new();