mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 08:23:34 -05:00
Fixed random after benchmark crash
This commit is contained in:
@@ -181,6 +181,8 @@ int64_t xmrig::Client::send(const rapidjson::Value &obj)
|
||||
|
||||
int64_t xmrig::Client::submit(const JobResult &result)
|
||||
{
|
||||
if (m_rpcId.isNull()) return 0; // ignore leftout benchmark jobs
|
||||
|
||||
# ifndef XMRIG_PROXY_PROJECT
|
||||
if (result.clientId != m_rpcId || m_rpcId.isNull() || m_state != ConnectedState) {
|
||||
return -1;
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
"huge-pages": true,
|
||||
"hw-aes": null,
|
||||
"priority": null,
|
||||
"memory-pool": false,
|
||||
"memory-pool": true,
|
||||
"yield": true,
|
||||
"max-threads-hint": 100,
|
||||
"asm": true,
|
||||
|
||||
Reference in New Issue
Block a user