<?php

namespace failover\config;

use Exception;
use traits\module_config_variable;

class failover_redis_enabled_c
{
    use module_config_variable;

    /**
     * @throws Exception
     */
    public function __construct()
    {
        self::setupConfigVariable(
            'Failover',
            'redis_enabled',
            'bool',
            true,
            null,
            'Whether automatic Redis replica failover is enabled.',
            'false',
            false,
            'false'
        );
    }
}
