Removed --save-config option and added calibrate algo control options to config file

This commit is contained in:
MoneroOcean 2018-08-04 11:31:42 +02:00
parent f340ea69f2
commit 846eca9743
6 changed files with 7 additions and 12 deletions

View file

@ -80,7 +80,7 @@ void Benchmark::onJobResult(const JobResult& result) {
start_perf_bench(next_pa);
} else { // end of benchmarks and switching to jobs from the pool (network)
m_pa = xmrig::PA_INVALID;
if (m_controller->config()->isShouldSave() || m_controller->config()->isSaveConfig()) m_controller->config()->save(); // save config with measured algo-perf
if (m_controller->config()->isShouldSave()) m_controller->config()->save(); // save config with measured algo-perf
Workers::pause(); // do not compute anything before job from the pool
m_controller->network()->connect();
}