diff --git a/config/database.php b/config/database.php index 183d30cf5e..bdaa37cced 100755 --- a/config/database.php +++ b/config/database.php @@ -80,7 +80,12 @@ return [ 'strict' => false, 'engine' => 'InnoDB', 'unix_socket' => env('DB_SOCKET',''), - 'dump_command_path' => env('DB_DUMP_PATH', '/usr/local/bin'), // only the path, so without 'mysqldump' + 'dump' => [ + 'dump_binary_path' => env('DB_DUMP_PATH', '/usr/local/bin'), // only the path, so without 'mysqldump' + 'use_single_transaction' => true, + 'timeout' => 60 * 5, // 5 minute timeout + ], + 'dump_command_timeout' => 60 * 5, // 5 minute timeout 'dump_using_single_transaction' => true, // perform dump using a single transaction 'options' => (env('DB_SSL')) ? [