diff --git a/src/config-zookeeper/src/Listener/BootProcessListener.php b/src/config-zookeeper/src/Listener/BootProcessListener.php index 21571a0d4..9c1078095 100644 --- a/src/config-zookeeper/src/Listener/BootProcessListener.php +++ b/src/config-zookeeper/src/Listener/BootProcessListener.php @@ -54,6 +54,10 @@ class BootProcessListener implements ListenerInterface public function process(object $event) { + if (! $this->config->get('zookeeper.enable', false)) { + return; + } + if (! $this->config->get('zookeeper.use_standalone_process', true)) { Coroutine::create(function () { $interval = $this->config->get('zookeeper.interval', 5);