1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Use new first-class MySQL timeout support in Phabricator

Summary: Fixes T6710. After D15669, we support a proper timeout parameter, so we don't need this hack anymore.

Test Plan: See D15669: forced a MySQL connector, set a low timeout, set a bad database, saw fast failures.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T6710

Differential Revision: https://secure.phabricator.com/D15670
This commit is contained in:
epriestley 2016-04-10 03:54:12 -07:00
parent 6a4a9bb2d2
commit c178f29cdb

View file

@ -358,10 +358,6 @@ final class PhabricatorDatabaseRef
'timeout' => 15,
);
// TODO: Remove this once the MySQL connector has proper support
// for it, see T6710.
ini_set('mysql.connect_timeout', $spec['timeout']);
return PhabricatorEnv::newObjectFromConfig(
'mysql.implementation',
array(