remove more logging
This commit is contained in:
parent
79d32c9c1b
commit
c5dc5fd935
@ -150,9 +150,6 @@ export class CryptoApi {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(`${this.numBusy} of ${this.workers.length} workers are busy`);
|
|
||||||
console.log(this.workers);
|
|
||||||
|
|
||||||
for (let i = 0; i < this.workers.length; i++) {
|
for (let i = 0; i < this.workers.length; i++) {
|
||||||
let ws = this.workers[i];
|
let ws = this.workers[i];
|
||||||
if (ws.busy) {
|
if (ws.busy) {
|
||||||
|
@ -33,7 +33,6 @@ import {Amount} from "./emscriptif";
|
|||||||
|
|
||||||
export function main(worker: Worker) {
|
export function main(worker: Worker) {
|
||||||
worker.onmessage = (msg: MessageEvent) => {
|
worker.onmessage = (msg: MessageEvent) => {
|
||||||
console.log("got data", msg.data);
|
|
||||||
if (!Array.isArray(msg.data.args)) {
|
if (!Array.isArray(msg.data.args)) {
|
||||||
console.error("args must be array");
|
console.error("args must be array");
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user