From 5dc3f9cb22a8564a55c08322869c826e9ed41667 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 14 Feb 2015 18:21:57 +1100 Subject: [PATCH] Only issue reconnect when the parent pool has set its notified flag --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index 12d0d4f3..a2f11b41 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1269,7 +1269,7 @@ static void update_notify(ckpool_t *ckp, const char *cmd) add_base(ckp, dsdata, wb, &new_block); - if (proxy->parent == current_proxy(sdata) && !proxy->notified) { + if (proxy == current_proxy(sdata) && !proxy->notified) { /* This is the first notification from the current proxy, tell * clients now to reconnect since we have enough information to * switch. */