Browse Source

Count each stratum notify as a getwork equivalent.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
9180a557c3
  1. 3
      util.c

3
util.c

@ -1032,6 +1032,9 @@ static bool parse_notify(struct pool *pool, json_t *val) @@ -1032,6 +1032,9 @@ static bool parse_notify(struct pool *pool, json_t *val)
applog(LOG_DEBUG, "clean: %s", clean ? "yes" : "no");
}
/* A notify message is the closest stratum gets to a getwork */
pool->getwork_requested++;
total_getworks++;
return true;
}

Loading…
Cancel
Save