Browse Source

Don't update time in stratum loop.

master
Con Kolivas 8 years ago
parent
commit
caf1b97d52
  1. 1
      src/stratifier.c

1
src/stratifier.c

@ -4492,7 +4492,6 @@ retry:
end_t = time(NULL); end_t = time(NULL);
if (end_t - sdata->update_time >= ckp->update_interval) { if (end_t - sdata->update_time >= ckp->update_interval) {
sdata->update_time = end_t;
if (!ckp->proxy) { if (!ckp->proxy) {
LOGDEBUG("%ds elapsed in strat_loop, updating gbt base", LOGDEBUG("%ds elapsed in strat_loop, updating gbt base",
ckp->update_interval); ckp->update_interval);

Loading…
Cancel
Save