Lowered the default OPT_READ_TIMEOUT for Redis
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 7 Jul 2014 03:36:24 +0000 (20:36 -0700)
committerOri.livneh <ori@wikimedia.org>
Tue, 8 Jul 2014 04:04:48 +0000 (04:04 +0000)
commite3227eeda60330d9ac28fcd1788bceae23e60b61
tree82de3857207f1fa23b282091fd033c9483f170e8
parentde8d796a1cd299d5a086ed48053ea18d4b2e7c5f
Lowered the default OPT_READ_TIMEOUT for Redis

* This should probably be low for the case of a server that is
  quick to accept connections but slow to do anything.
* Made the client class handle blocking operations sanely
  by automatically boosting/lowering the timeout value.

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