set statement_timeout for postgres
This commit is contained in:
parent
0fcfa49e75
commit
217559dc22
@ -147,6 +147,7 @@ class PostgreSQL extends DBEngine {
|
|||||||
*/
|
*/
|
||||||
public function init($db) {
|
public function init($db) {
|
||||||
$db->exec("SET application_name TO 'shimmie [{$_SERVER['REMOTE_ADDR']}]';");
|
$db->exec("SET application_name TO 'shimmie [{$_SERVER['REMOTE_ADDR']}]';");
|
||||||
|
$db->exec("SET statement_timeout TO 10000;");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user