Set Redis::OPT_READ_TIMEOUT by default
commitc6a7a3a9ed513d48c13d54cdbc4b9ee1f57a8009
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 5 May 2014 18:43:21 +0000 (5 11:43 -0700)
committerOri.livneh <ori@wikimedia.org>
Mon, 5 May 2014 20:25:09 +0000 (5 20:25 +0000)
treee427e024da5e9f3d4c603fbac03062c9d55ce001
parent12ba77be1c5d370c2a341288a7c211c58ca468e4
Set Redis::OPT_READ_TIMEOUT by default

* The value is also configurable just like connectTimeout
* This deals with problems like https://github.com/nicolasff/phpredis/issues/99
  and https://github.com/nicolasff/phpredis/issues/70

Change-Id: I05e91e05764020854d04673b7decae30359f57e9
includes/clientpool/RedisConnectionPool.php