Skip to content

Commit

Permalink
fix: reduce timeout (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed May 27, 2024
1 parent 8a97604 commit aa88934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ impl<'a, I: Infra> Handle<GetVerifyStatus<'a>> for Service<I> {
let project_data = self
.project_registry()
.project_data(cmd.project_id)
.with_timeout(Duration::from_secs(10))
.with_timeout(Duration::from_secs(1))
.await
.context("ProjectRegistry::project_data timed out")?
.tap_err(|e| error!("ProjectRegistry::project_data: {e:?}"))?
Expand Down

0 comments on commit aa88934

Please sign in to comment.