mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Revert "Make sure to give work items a starting time only once when they're staged."
This reverts commit 626ae10d7c
.
Failed to address all work items.
This commit is contained in:
parent
626ae10d7c
commit
639d38fbd4
6
main.c
6
main.c
@ -1582,12 +1582,8 @@ static void *stage_thread(void *userdata)
|
|||||||
}
|
}
|
||||||
|
|
||||||
test_work_current(work);
|
test_work_current(work);
|
||||||
/* Stage date the work only once since it may be rolled
|
if (!work->cloned && !work->clone)
|
||||||
* or cloned and be staged again */
|
|
||||||
if (!work->staged) {
|
|
||||||
gettimeofday(&work->tv_staged, NULL);
|
gettimeofday(&work->tv_staged, NULL);
|
||||||
work->staged = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (opt_debug)
|
if (opt_debug)
|
||||||
applog(LOG_DEBUG, "Pushing work to getwork queue");
|
applog(LOG_DEBUG, "Pushing work to getwork queue");
|
||||||
|
Loading…
Reference in New Issue
Block a user