Set MYSQLI_OPT_CONNECT_TIMEOUT in mysqli
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 19 Jun 2014 20:20:26 +0000 (13:20 -0700)
committerBryanDavis <bdavis@wikimedia.org>
Fri, 20 Jun 2014 15:51:45 +0000 (15:51 +0000)
commit433d57f00f10b7e1218034f1a7372f6ee8ccb142
tree1b3247bd3c3079fc742c66c2bb349c9f1812e29e
parent2da03f8806173777fb5fc373e9b62279250230f7
Set MYSQLI_OPT_CONNECT_TIMEOUT in mysqli

* There is no php.ini setting for this, and it is unclear how
  high the default is. The retry behavior of MediaWiki also
  makes little sense without knowing this value.
* Also removed the retry loop which will mostly result in
  giving up the position in some FIFO queue only to come
  back at the end of the line.

Change-Id: Id24f6635508ba87288a2e40f71d4e8016a1805b0
includes/db/DatabaseMysqli.php