Commit eae08c78 authored by Ilya Rassadin's avatar Ilya Rassadin
Browse files

add load_testing

parent 508d3799
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -90,6 +90,22 @@ if (getenv('RUN_MODE', true) === 'development') {
            'readonly' => false,
        ],
    ]);
} elseif (getenv('RUN_MODE', true) === 'load_testing') {
    $settings = array_merge($settings, [
        'connections' => [
            'value' => [
                'default' => [
                    'className' => '\\Bitrix\\Main\\DB\\MysqliConnection',
                    'host' => 'db',
                    'port' => 3306,
                    'database' => 'load',
                    'login' => 'load',
                    'password' => '0kjNRU2rTaFHQMb1bFEB',
                    'options' => 2,
                ],
            ],
        ]
    ]);
}

return $settings;