From 27b223920a1c7a7068d919ace29293a83aa21eb2 Mon Sep 17 00:00:00 2001 From: Nicolas Van Eenaeme Date: Wed, 23 Oct 2013 14:30:07 +0000 Subject: [PATCH] Fixed ra->pconnect parameter in ra_make_array This parameter was ignored and caused pconnect not to work --- redis_array_impl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/redis_array_impl.c b/redis_array_impl.c index c3a1f36522..9f1a2238f2 100644 --- a/redis_array_impl.c +++ b/redis_array_impl.c @@ -308,6 +308,7 @@ ra_make_array(HashTable *hosts, zval *z_fun, zval *z_dist, HashTable *hosts_prev ra->z_multi_exec = NULL; ra->index = b_index; ra->auto_rehash = 0; + ra->pconnect = b_pconnect; /* init array data structures */ ra_init_function_table(ra);