Fixed random after benchmark crash

This commit is contained in:
MoneroOcean 2020-08-16 11:42:15 -07:00
parent 58dd3294d0
commit 57e38f070a
2 changed files with 3 additions and 1 deletions

View file

@ -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;

View file

@ -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,