Skip to content

Commit

Permalink
Rename env var
Browse files Browse the repository at this point in the history
  • Loading branch information
guilload committed Jun 14, 2024
1 parent 8a69c73 commit fb2dc2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickwit/quickwit-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ use tracing::error;
/// QW_RUNTIME_NUM_THREADS environment variable.
fn get_main_runtime_num_threads() -> usize {
let default_num_runtime_threads: usize = quickwit_common::num_cpus().div_ceil(3);
quickwit_common::get_from_env("QW_RUNTIME_NUM_THREADS", default_num_runtime_threads)
quickwit_common::get_from_env("QW_TOKIO_RUNTIME_NUM_THREADS", default_num_runtime_threads)
}

fn main() -> anyhow::Result<()> {
Expand Down

0 comments on commit fb2dc2e

Please sign in to comment.