From 857e5b3411bdffddab1f02d7d34b64b224f98cf0 Mon Sep 17 00:00:00 2001 From: Miraland Labs Date: Thu, 20 Jun 2024 20:22:52 +0800 Subject: [PATCH] set webworker num to 1 --- src/miner/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/miner/mod.rs b/src/miner/mod.rs index 6a7525a..951bf3b 100644 --- a/src/miner/mod.rs +++ b/src/miner/mod.rs @@ -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