This commit is contained in:
Shish 2021-09-22 16:02:33 +01:00
parent 3bb1566df2
commit e7808096ff

View File

@ -100,7 +100,9 @@ class PostgreSQL extends DBEngine
public function set_timeout(PDO $db, ?int $time): void
{
if(is_null($time)) $time = 0;
if (is_null($time)) {
$time = 0;
}
$db->exec("SET statement_timeout TO ".$time.";");
}