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 13 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)
struct work *work = make_work(); struct work *work = make_work();
bool rc; bool rc;
work->mandatory = true;
rc = work_decode(json_object_get(val, "result"), work); rc = work_decode(json_object_get(val, "result"), work);
if (rc) { if (rc) {
applog(LOG_DEBUG, "Successfully retrieved and deciphered work from pool %u %s", applog(LOG_DEBUG, "Successfully retrieved and deciphered work from pool %u %s",

Loading…
Cancel
Save