From ec932cb970fb89b195b13e1fdbf3c085cef8ae40 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 26 May 2020 15:50:47 +1000 Subject: [PATCH] Enable zmqnotify only on non-proxy. --- src/stratifier.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index d755738a..8be6a86a 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -8796,7 +8796,8 @@ void *stratifier(void *arg) create_pthread(&pth_statsupdate, statsupdate, ckp); mutex_init(&sdata->share_lock); - create_pthread(&pth_zmqnotify, zmqnotify, ckp); + if (!ckp->proxy) + create_pthread(&pth_zmqnotify, zmqnotify, ckp); ckp->stratifier_ready = true; LOGWARNING("%s stratifier ready", ckp->name);