From 529aa70c38a1daa61eef8010e4c1a4346e114502 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 19 Jul 2011 10:32:24 +1000 Subject: [PATCH] Set pool on work retrieved from longpoll. --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index 682096aa..7f76adec 100644 --- a/main.c +++ b/main.c @@ -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");