Skip to content
Snippets Groups Projects
Commit 6f01a449 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] #1234 Remove ARM specific code

parent 7a566dd2
No related branches found
No related tags found
2 merge requests!12291.6 into DockerBuild,!12251.6 fixes
...@@ -36,12 +36,6 @@ export class PowEngine { ...@@ -36,12 +36,6 @@ export class PowEngine {
if (this.cluster.hasProofPending) { if (this.cluster.hasProofPending) {
await this.cluster.cancelWork() await this.cluster.cancelWork()
} }
const cpus = os.cpus()
if (os.arch().match(/arm/) || cpus[0].model.match(/Atom/)) {
stuff.newPoW.conf.nbCores /= 2; // Make sure that only once each physical core is used (for Hyperthreading).
}
return await this.cluster.proveByWorkers(stuff) return await this.cluster.proveByWorkers(stuff)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment