Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Service/DbRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
private SqlFormatter $formatter;

/**
* @param float $timeout The timeout in seconds. Default is 3 seconds.
* @param float $timeout The timeout in seconds. Default is 60 seconds.
*/
public function __construct(
protected float $timeout = 3,
protected float $timeout = 60,
) {
$this->formatter = new SqlFormatter();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Service/DbRunnerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public function testRunQuery(string $schema, string $query, ?array $expect, ?str

public function testRunQueryCte(): void
{
$dbrunner = new DbRunner();
$dbrunner = new DbRunner(5);

$schema = "CREATE TABLE test (
id INTEGER PRIMARY KEY,
Expand Down
Loading