Fixed random after benchmark crash
This commit is contained in:
parent
58dd3294d0
commit
57e38f070a
2 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue