Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0fd41c2

Browse files
poisonmichael-grunder
authored andcommitted
Fixed ra->pconnect parameter in ra_make_array
This parameter was ignored and caused pconnect not to work
1 parent f3191cd commit 0fd41c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

redis_array_impl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ ra_make_array(HashTable *hosts, zval *z_fun, zval *z_dist, HashTable *hosts_prev
308308
ra->z_multi_exec = NULL;
309309
ra->index = b_index;
310310
ra->auto_rehash = 0;
311+
ra->pconnect = b_pconnect;
311312

312313
/* init array data structures */
313314
ra_init_function_table(ra);

0 commit comments

Comments
 (0)