mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-10 09:02:45 -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)
|
int64_t xmrig::Client::submit(const JobResult &result)
|
||||||
{
|
{
|
||||||
|
if (m_rpcId.isNull()) return 0; // ignore leftout benchmark jobs
|
||||||
|
|
||||||
# ifndef XMRIG_PROXY_PROJECT
|
# ifndef XMRIG_PROXY_PROJECT
|
||||||
if (result.clientId != m_rpcId || m_rpcId.isNull() || m_state != ConnectedState) {
|
if (result.clientId != m_rpcId || m_rpcId.isNull() || m_state != ConnectedState) {
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
"huge-pages": true,
|
"huge-pages": true,
|
||||||
"hw-aes": null,
|
"hw-aes": null,
|
||||||
"priority": null,
|
"priority": null,
|
||||||
"memory-pool": false,
|
"memory-pool": true,
|
||||||
"yield": true,
|
"yield": true,
|
||||||
"max-threads-hint": 100,
|
"max-threads-hint": 100,
|
||||||
"asm": true,
|
"asm": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user