From 5131bbadd1a7b9a0ca21b6e0a5e2f96959f5400d Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 18 Mar 2013 09:57:23 -0700 Subject: [PATCH] Moved some RedisConnectionPool docs to the factory function. Change-Id: I4183b96e123882de604de1484456abcd10091fb2 --- includes/clientpool/RedisConnectionPool.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/includes/clientpool/RedisConnectionPool.php b/includes/clientpool/RedisConnectionPool.php index 5c7c4f20b5..a15e80ba80 100644 --- a/includes/clientpool/RedisConnectionPool.php +++ b/includes/clientpool/RedisConnectionPool.php @@ -55,14 +55,6 @@ class RedisConnectionPool { const SERVER_DOWN_TTL = 30; // integer; seconds to cache servers as "down" /** - * $options include: - * - connectTimeout : The timeout for new connections, in seconds. - * Optional, default is 1 second. - * - persistent : Set this to true to allow connections to persist across - * multiple web requests. False by default. - * - password : The authentication password, will be sent to Redis in clear text. - * Optional, if it is unspecified, no AUTH command will be sent. - * - serializer : Set to "php", "igbinary", or "none". Default is "php". * @param array $options */ protected function __construct( array $options ) { @@ -103,6 +95,14 @@ class RedisConnectionPool { /** * @param $options Array + * $options include: + * - connectTimeout : The timeout for new connections, in seconds. + * Optional, default is 1 second. + * - persistent : Set this to true to allow connections to persist across + * multiple web requests. False by default. + * - password : The authentication password, will be sent to Redis in clear text. + * Optional, if it is unspecified, no AUTH command will be sent. + * - serializer : Set to "php", "igbinary", or "none". Default is "php". * @return RedisConnectionPool */ public static function singleton( array $options ) { -- 2.20.1