protected function getSelectedHorizonConnectionConfiguration()
    {
        $use = $this->config->get('horizon.use', 'default');
        $connectionConfig = $this->config->get("database.redis-sentinel.$use");

        if ($connectionConfig === null) {
            throw new UnexpectedValueException(
                "The Horizon Redis Sentinel connection [$use] is not defined."
            );
        }

        return $connectionConfig;
    }