Skip to content

Commit a80c46f

Browse files
committed
chore: fix monolith worker out of date
1 parent f7d021c commit a80c46f

File tree

1 file changed

+1
-1
lines changed
  • svc/pkg/monolith/standalone/workflow-worker/src

1 file changed

+1
-1
lines changed

svc/pkg/monolith/standalone/workflow-worker/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use chirp_workflow::prelude::*;
22

33
#[tracing::instrument(skip_all)]
44
pub async fn run_from_env(pools: rivet_pools::Pools) -> GlobalResult<()> {
5-
let reg = cluster::registry().merge(linode::registry());
5+
let reg = cluster::registry()?.merge(linode::registry()?)?;
66

77
let db = db::DatabasePostgres::from_pool(pools.crdb().unwrap());
88
let worker = Worker::new(reg.handle(), db.clone());

0 commit comments

Comments
 (0)