docs: def processConfig(self, worker_config):
          """Update the pool configuration with a worker configuration.
          """
          self.config['headless'] |= worker_config.get("headless", False)
          if self.config['headless']:
              # Launch discovery process
              if not self.discovery_thread:
                  self.discovery_thread = discovery.Advertise(
                      port=",".join(str(a) for a in self.getPorts()),
                  )