mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-27 15:04:17 +00:00
Make test work for pool_active mandatory work items to smooth out staged work counts when in failover-only mode.
This commit is contained in:
parent
8414a9a7e2
commit
aa52db4539
@ -3590,6 +3590,7 @@ static bool pool_active(struct pool *pool, bool pinging)
|
||||
struct work *work = make_work();
|
||||
bool rc;
|
||||
|
||||
work->mandatory = true;
|
||||
rc = work_decode(json_object_get(val, "result"), work);
|
||||
if (rc) {
|
||||
applog(LOG_DEBUG, "Successfully retrieved and deciphered work from pool %u %s",
|
||||
|
Loading…
x
Reference in New Issue
Block a user