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@users.noreply.github.com>2020-07-07 23:18:01 +0300
committerGitHub <noreply@github.com>2020-07-07 23:18:01 +0300
commitf771ea16b77f39fcca555bec2d952412265197aa (patch)
tree7b8828252f9a4d0b851286d96364ba94fccd6234 /cluster_library.h
parentbee44fb6c8549b65d036c3e62f96cebd5fd05e08 (diff)
Issue #1607 (#1806)
Diffstat (limited to 'cluster_library.h')
-rw-r--r--cluster_library.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/cluster_library.h b/cluster_library.h
index de9d1718..98e9b0ec 100644
--- a/cluster_library.h
+++ b/cluster_library.h
@@ -186,12 +186,8 @@ typedef struct clusterFoldItem clusterFoldItem;
/* RedisCluster implementation structure */
typedef struct redisCluster {
- /* Timeout and read timeout (for normal operations) */
- double timeout;
- double read_timeout;
-
- /* Are we using persistent connections */
- int persistent;
+ /* One RedisSock struct for serialization and prefix information */
+ RedisSock *flags;
/* How long in milliseconds should we wait when being bounced around */
long waitms;
@@ -241,9 +237,6 @@ typedef struct redisCluster {
/* The slot where we're subscribed */
short subscribed_slot;
- /* One RedisSock struct for serialization and prefix information */
- RedisSock *flags;
-
/* The first line of our last reply, not including our reply type byte
* or the trailing \r\n */
char line_reply[1024];