Skip to content

Commit 2728de7

Browse files
committed
Rename LMUTILS_BLOCKS_AT_ONCE to LMUTILS_NUM_MAIN_THREADS to make reusable
1 parent 078c93a commit 2728de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub fn calculate_r2s<'a>(
6060
.collect::<Result<Vec<_>, _>>()?,
6161
);
6262
let results = Mutex::new(Vec::new());
63-
let blocks_at_once = std::env::var("LMUTILS_BLOCKS_AT_ONCE")
63+
let blocks_at_once = std::env::var("LMUTILS_NUM_MAIN_THREADS")
6464
.ok()
6565
.and_then(|x| x.parse::<usize>().ok())
6666
.unwrap_or(16)

0 commit comments

Comments
 (0)