diff --git a/src/js/worker.js b/src/js/worker.js index 8a6fcdc..b401b49 100644 --- a/src/js/worker.js +++ b/src/js/worker.js @@ -16,7 +16,7 @@ onmessage = async function(e) { ...argonOpts, }); // This throttle seems to really help some browsers not stop the workers abruptly - i % 10 === 0 && await new Promise(res => setTimeout(res, 1)); + i % 10 === 0 && await new Promise(res => setTimeout(res, 10)); if (hash.hashHex.startsWith(diffString) && ((parseInt(hash.hashHex[diffString.length],16) & 0xff >> (((diffString.length+1)*8)-diff)) === 0)) {