|
|
@@ -1582,12 +1582,8 @@ static void *stage_thread(void *userdata)
|
|
|
}
|
|
|
|
|
|
test_work_current(work);
|
|
|
- /* Stage date the work only once since it may be rolled
|
|
|
- * or cloned and be staged again */
|
|
|
- if (!work->staged) {
|
|
|
+ if (!work->cloned && !work->clone)
|
|
|
gettimeofday(&work->tv_staged, NULL);
|
|
|
- work->staged = true;
|
|
|
- }
|
|
|
|
|
|
if (opt_debug)
|
|
|
applog(LOG_DEBUG, "Pushing work to getwork queue");
|