Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 24, 2025
1 parent ae05e49 commit ebd115f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Illuminate/Database/Connectors/PostgresConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,8 @@ protected function quoteSearchPath($searchPath)
*/
protected function configureSynchronousCommit($connection, array $config)
{
if (! isset($config['synchronous_commit'])) {
return;
if (isset($config['synchronous_commit'])) {
$connection->prepare("set synchronous_commit to '{$config['synchronous_commit']}'")->execute();
}

$connection->prepare("set synchronous_commit to '{$config['synchronous_commit']}'")->execute();
}
}

0 comments on commit ebd115f

Please sign in to comment.