Skip to content

Commit

Permalink
add env
Browse files Browse the repository at this point in the history
  • Loading branch information
lispc committed Nov 9, 2024
1 parent 76c73d9 commit 93b045c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ impl Config {
if let Some(val) = Self::get_env_var("CIRCUIT_TYPE")? {
self.prover.circuit_type = CircuitType::from_u8(val.parse()?);
}
if let Some(val) = Self::get_env_var("N_WORKERS")? {
self.prover.n_workers = val.parse()?;
}
if let Some(val) = Self::get_env_var("PROVING_SERVICE_BASE_URL")? {
if let Some(cloud) = &mut self.prover.cloud {
cloud.base_url = val;
Expand Down

0 comments on commit 93b045c

Please sign in to comment.