mirror of
https://github.com/xmrig/xmrig.git
synced 2026-02-01 17:53:03 -05:00
Add algo-min-time option same as meta-miner
This commit is contained in:
@@ -214,6 +214,11 @@ void xmrig::Network::onLogin(IStrategy *, IClient *client, rapidjson::Document &
|
||||
}
|
||||
|
||||
params.AddMember("algo-perf", algo_perf, allocator);
|
||||
|
||||
int algo_min_time = m_controller->config()->algoMinTime();
|
||||
if (algo_min_time > 0) {
|
||||
params.AddMember("algo-min-time", algo_min_time, allocator);
|
||||
}
|
||||
# endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user