Browse Source

Accept only old diffs until the diff change job id

master
Con Kolivas 9 years ago
parent
commit
7a06c4f009
  1. 4
      src/stratifier.c

4
src/stratifier.c

@ -5585,8 +5585,8 @@ out_submit:
out_unlock: out_unlock:
ck_runlock(&sdata->workbase_lock); ck_runlock(&sdata->workbase_lock);
/* Accept the lower of new and old diffs until the next update */ /* Accept shares of the old diff until the next update */
if (id < client->diff_change_job_id && client->old_diff < client->diff) if (id < client->diff_change_job_id)
diff = client->old_diff; diff = client->old_diff;
if (!invalid) { if (!invalid) {
char wdiffsuffix[16]; char wdiffsuffix[16];

Loading…
Cancel
Save