X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-consumerd%2Fhealth-consumerd.cpp;h=ec30af5ddc1f1fd5517365bd94622da89278c17c;hb=3069d754fad11712a241bea75acaed3b14e2e65a;hp=90b4b1e12439eb9dcc34a265c20c37a3608668ce;hpb=635e0160bfe2f0ef440ae4990bae7eed96454ae1;p=lttng-tools.git diff --git a/src/bin/lttng-consumerd/health-consumerd.cpp b/src/bin/lttng-consumerd/health-consumerd.cpp index 90b4b1e12..ec30af5dd 100644 --- a/src/bin/lttng-consumerd/health-consumerd.cpp +++ b/src/bin/lttng-consumerd/health-consumerd.cpp @@ -210,7 +210,7 @@ void *thread_manage_health(void *data) goto error; } - /* Size is set to 1 for the consumer_channel pipe */ + /* Size is set to 2 for the quit pipe and registration socket. */ ret = lttng_poll_create(&events, 2, LTTNG_CLOEXEC); if (ret < 0) { ERR("Poll set creation failed");