Skip to content
Snippets Groups Projects
Commit 89ebf164 authored by Éloïs's avatar Éloïs
Browse files

Merge branch '1.6' into 'stable/ws2p-v1.1-trymerge'

# Conflicts:
#   app/modules/prover/lib/engine.ts
parents d7fed2fd 7d26a9b4
Branches
Tags
2 merge requests!1222Add startup scripts,!1220Stable/ws2p v1.1 trymerge
......@@ -30,7 +30,6 @@ export class PowEngine {
}
async prove(stuff:any) {
if (this.cluster.hasProofPending) {
await this.cluster.cancelWork()
}
......@@ -43,10 +42,6 @@ export class PowEngine {
return await this.cluster.proveByWorkers(stuff)
}
cancel() {
return this.cluster.cancelWork()
}
setConf(value:any) {
if (os.arch().match(/arm/) && value.cpu !== undefined) {
value.cpu /= 2; // Don't know exactly why is ARM so much saturated by PoW, so let's divide by 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment