fix
This commit is contained in:
parent
1aa603aff2
commit
a2c463c1bd
@ -495,8 +495,6 @@ int verify_work(void *handle, void *work_handle, char *input, htbuffer_t *output
|
|||||||
err = pthread_cond_timedwait(vwh->result_cond, vwh->result_mutex, &ts);
|
err = pthread_cond_timedwait(vwh->result_cond, vwh->result_mutex, &ts);
|
||||||
pthread_mutex_unlock(vwh->result_mutex);
|
pthread_mutex_unlock(vwh->result_mutex);
|
||||||
if (ETIMEDOUT == err) {
|
if (ETIMEDOUT == err) {
|
||||||
printf("last worker: %p, %d\n", wt, wt->whereAreWe);
|
|
||||||
|
|
||||||
incStatCounter(vwh->vch->statCounter, STAT_CNT_VERIFIER_WORKER_THREADS_TIMEOUT);
|
incStatCounter(vwh->vch->statCounter, STAT_CNT_VERIFIER_WORKER_THREADS_TIMEOUT);
|
||||||
TEMP_NOK_RETURN("worker thread timed out");
|
TEMP_NOK_RETURN("worker thread timed out");
|
||||||
}
|
}
|
||||||
@ -712,8 +710,6 @@ static void *worker_thread(void *arg) {
|
|||||||
static const char *NO_PERM_RESULT = "no checker returned permanent result";
|
static const char *NO_PERM_RESULT = "no checker returned permanent result";
|
||||||
static const char *INTERNAL_ERROR = "verifier internal error";
|
static const char *INTERNAL_ERROR = "verifier internal error";
|
||||||
|
|
||||||
lastThing = wt;
|
|
||||||
|
|
||||||
syslog(LOG_DEBUG, "verify (%p) worker_thread %d started, %s",
|
syslog(LOG_DEBUG, "verify (%p) worker_thread %d started, %s",
|
||||||
wt->vwh, wt->id, wt->input);
|
wt->vwh, wt->id, wt->input);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user