Skip to content

Commit

Permalink
set webworker num to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
miralandlabs committed Jun 20, 2024
1 parent c8faefc commit 857e5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/miner/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ lazy_static! {
// MI, only 1 web worker for current algorithm
fn fetch_logical_processors() -> usize {
// MI
let _window = window().expect("should have a window");
// let _window = window().expect("should have a window");
// let navigator = window.navigator();
// navigator.hardware_concurrency() as usize
1
Expand Down

0 comments on commit 857e5b3

Please sign in to comment.