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(); .init();
// Set up our Storage // Set up our Storage
let storage = let storage = Storage::connect(
Storage::connect("postgres://postgres:postgres@localhost:5432/db".parse()?).await?; "postgres://postgres:postgres@localhost:5432/db".parse()?,
None,
)
.await?;
let arbiter = Arbiter::new(); let arbiter = Arbiter::new();