|
|
@ -95,6 +95,7 @@ int opt_expiry = 28; |
|
|
|
static const bool opt_time = true; |
|
|
|
static const bool opt_time = true; |
|
|
|
unsigned long long global_hashrate; |
|
|
|
unsigned long long global_hashrate; |
|
|
|
unsigned long global_quota_gcd = 1; |
|
|
|
unsigned long global_quota_gcd = 1; |
|
|
|
|
|
|
|
time_t last_getwork; |
|
|
|
|
|
|
|
|
|
|
|
int nDevs; |
|
|
|
int nDevs; |
|
|
|
int opt_dynamic_interval = 7; |
|
|
|
int opt_dynamic_interval = 7; |
|
|
@ -5899,6 +5900,7 @@ struct work *get_work(struct thr_info *thr, const int thr_id) |
|
|
|
wake_gws(); |
|
|
|
wake_gws(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
last_getwork = time(NULL); |
|
|
|
applog(LOG_DEBUG, "Got work from get queue to get work for thread %d", thr_id); |
|
|
|
applog(LOG_DEBUG, "Got work from get queue to get work for thread %d", thr_id); |
|
|
|
|
|
|
|
|
|
|
|
work->thr_id = thr_id; |
|
|
|
work->thr_id = thr_id; |
|
|
|