Browse Source

Make test work for pool_active mandatory work items to smooth out staged work counts when in failover-only mode.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
aa52db4539
  1. 1
      cgminer.c

1
cgminer.c

@ -3590,6 +3590,7 @@ static bool pool_active(struct pool *pool, bool pinging) @@ -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…
Cancel
Save