Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2018-11-21 12:51:03 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2018-11-21 14:39:50 +0300
commitc0793e8be49323e84e5116e20001620f0ab4f903 (patch)
tree5b56d489eaa037ea9b671d97e178afd84ab98941 /cluster_library.c
parent82c3f8f5b968086bcfaeba265821da93c1b4ebce (diff)
Remove unused parameter lazy_connect from redis_sock_create
Diffstat (limited to 'cluster_library.c')
-rw-r--r--cluster_library.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cluster_library.c b/cluster_library.c
index 2159a2e6..efda062a 100644
--- a/cluster_library.c
+++ b/cluster_library.c
@@ -652,7 +652,7 @@ cluster_node_create(redisCluster *c, char *host, size_t host_len,
// Attach socket
node->sock = redis_sock_create(host, host_len, port, c->timeout,
- c->read_timeout, c->persistent, NULL, 0, 1);
+ c->read_timeout, c->persistent, NULL, 0);
return node;
}
@@ -923,7 +923,7 @@ cluster_init_seeds(redisCluster *cluster, HashTable *ht_seeds) {
// Allocate a structure for this seed
redis_sock = redis_sock_create(str, psep-str,
(unsigned short)atoi(psep+1), cluster->timeout,
- cluster->read_timeout, cluster->persistent, NULL, 0, 0);
+ cluster->read_timeout, cluster->persistent, NULL, 0);
// Index this seed by host/port
key_len = snprintf(key, sizeof(key), "%s:%u", ZSTR_VAL(redis_sock->host),