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

[fix] Proof-of-work CPU% changed dynamically was not taken into account

parent 4c2ebfff
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,7 @@ export class Master {
changeConf(conf:ConfDTO) {
this.logger.info(`Changing conf to: ${JSON.stringify(conf)} on PoW cluster`)
this.conf.cpu = this.conf.cpu || conf.cpu
this.conf.cpu = conf.cpu || this.conf.cpu
this.conf.prefix = this.conf.prefix || conf.prefix
this.slaves.forEach(s => {
s.worker.send({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment