From 29a8235c6481280875b8078a6727be735569a7a3 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 18 May 2014 20:49:32 +1000 Subject: [PATCH] Only start the blockupdate thread if we're not in proxy mode --- src/stratifier.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index 7dfffbce..2de87abd 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1757,7 +1757,8 @@ int stratifier(proc_instance_t *pi) create_pthread(&pth_stratum_sender, stratum_sender, ckp); cklock_init(&workbase_lock); - create_pthread(&pth_blockupdate, blockupdate, ckp); + if (!ckp->proxy) + create_pthread(&pth_blockupdate, blockupdate, ckp); mutex_init(&stats_lock); create_pthread(&pth_statsupdate, statsupdate, ckp);