1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-26 22:44:21 +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:
Con Kolivas 2012-08-01 23:42:00 +10:00
parent 8414a9a7e2
commit aa52db4539

View File

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