Prevent config reload after initial save.
This commit is contained in:
parent
f4d2dec628
commit
14e7c82512
6 changed files with 31 additions and 13 deletions
|
@ -206,9 +206,7 @@ void Workers::start(xmrig::Controller *controller)
|
|||
handle->start(Workers::onReady);
|
||||
}
|
||||
|
||||
if (controller->config()->isShouldSave()) {
|
||||
controller->config()->save();
|
||||
}
|
||||
controller->save();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue