1
0
forked from circlecloud/tera

feat: add more type def

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-07-22 12:03:05 +08:00
parent 8d0cb723c1
commit 8c849ed49f
8 changed files with 103 additions and 34 deletions

View File

@@ -39,6 +39,10 @@ function RunProcess() {
function AddPowProcess() {
let Worker = Fork('./process/pow-process');
ArrMiningWrk.push(Worker);
Worker.send({
cmd: "InitVer3",
ProcessMemorySize
})
Worker.Num = ArrMiningWrk.length;
Worker.on('message', function(msg) {
switch (msg.cmd) {