mirror of
https://git.asonix.dog/asonix/background-jobs.git
synced 2024-11-23 20:40:59 +00:00
postgres-example: update usage
This commit is contained in:
parent
42bc58bc94
commit
b0beaad10a
1 changed files with 5 additions and 2 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue