Browse Source

Set pool on work retrieved from longpoll.

nfactor-troky
Con Kolivas 14 years ago
parent
commit
529aa70c38
  1. 1
      main.c

1
main.c

@ -1970,6 +1970,7 @@ static void convert_to_work(json_t *val) @@ -1970,6 +1970,7 @@ static void convert_to_work(json_t *val)
applog(LOG_ERR, "Could not convert longpoll data to work");
return;
}
work->pool = current_pool();
if (unlikely(!tq_push(thr_info[stage_thr_id].q, work)))
applog(LOG_ERR, "Could not tq_push work in convert_to_work");

Loading…
Cancel
Save