Increase DB-Connection default timeout, 2 secs are sometimes too harsh

This commit is contained in:
Thomas Gelf 2014-03-17 16:17:55 +00:00
parent a8cecfa162
commit 7fc47ef961
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class Connection implements DatasourceInterface
);
private static $driverOptions = array(
PDO::ATTR_TIMEOUT => 2,
PDO::ATTR_TIMEOUT => 5,
PDO::ATTR_CASE => PDO::CASE_LOWER,
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION
);