From 412d93dbd4e3e709397773c77f24a9f24f3088c8 Mon Sep 17 00:00:00 2001 From: ekneg54 Date: Fri, 13 Sep 2024 16:43:45 +0200 Subject: [PATCH] add comment for component setup method --- logprep/abc/component.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/logprep/abc/component.py b/logprep/abc/component.py index 3d10a80b7..adb3a72a7 100644 --- a/logprep/abc/component.py +++ b/logprep/abc/component.py @@ -100,6 +100,10 @@ def setup(self): """Set the component up.""" self._populate_cached_properties() if not "http" in self._config.type: + # HTTP input connector spins up an http server + # only on the first pipeline process + # but this runs on all pipeline processes which leads to never + # completing the setup phase self._wait_for_health() def _wait_for_health(self) -> None: