diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@users.noreply.github.com> | 2020-07-07 23:18:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-07 23:18:01 +0300 |
commit | f771ea16b77f39fcca555bec2d952412265197aa (patch) | |
tree | 7b8828252f9a4d0b851286d96364ba94fccd6234 /cluster_library.h | |
parent | bee44fb6c8549b65d036c3e62f96cebd5fd05e08 (diff) |
Issue #1607 (#1806)
Diffstat (limited to 'cluster_library.h')
-rw-r--r-- | cluster_library.h | 11 |
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]; |