clientpool: refactor Redis authentication error handling
authorAlexia E. Smith <washuu@gmail.com>
Fri, 21 Oct 2016 16:17:50 +0000 (11:17 -0500)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 31 May 2018 21:46:37 +0000 (21:46 +0000)
commit9e3d7c14ae8a9026732665bff84502cd26c4a444
treec08afb37213bcee89e95c547cf0c96d4cd47d50b
parentade631c612cc9c86c133005f5e898041b9240084
clientpool: refactor Redis authentication error handling

Wrap method calls with a try-catch handler.

Also:
* Fixed blpop/brpop/brpoplpush timeout parameter.
* Fixed blpop/brpop/brpoplpush clobbering infinite timeouts.
* Redis scan functions require iterator passed by reference.

Bug: T191927
Change-Id: I1f827ab23c8d289d000090dbdd62a10467c4afed
includes/libs/redis/RedisConnRef.php