Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
StackExchange.Redis
Commits
1e7703c0
Commit
1e7703c0
authored
Dec 10, 2015
by
Marc Gravell
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:StackExchange/StackExchange.Redis into jeremymeng-netcore
parents
af0b2223
51704fd7
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
155 additions
and
94 deletions
+155
-94
ClusterConfiguration.cs
...xchange.Redis/StackExchange/Redis/ClusterConfiguration.cs
+2
-8
ConnectionMultiplexer.cs
...change.Redis/StackExchange/Redis/ConnectionMultiplexer.cs
+144
-86
EndPointCollection.cs
...kExchange.Redis/StackExchange/Redis/EndPointCollection.cs
+9
-0
No files found.
StackExchange.Redis/StackExchange/Redis/ClusterConfiguration.cs
View file @
1e7703c0
...
...
@@ -281,14 +281,8 @@ internal ClusterNode(ClusterConfiguration configuration, string raw, EndPoint or
var
flags
=
parts
[
2
].
Split
(
StringSplits
.
Comma
);
if
(
flags
.
Contains
(
"myself"
))
{
endpoint
=
origin
;
}
else
{
endpoint
=
Format
.
TryParseEndPoint
(
parts
[
1
]);
}
endpoint
=
Format
.
TryParseEndPoint
(
parts
[
1
]);
nodeId
=
parts
[
0
];
isSlave
=
flags
.
Contains
(
"slave"
);
parentNodeId
=
string
.
IsNullOrWhiteSpace
(
parts
[
3
])
?
null
:
parts
[
3
];
...
...
StackExchange.Redis/StackExchange/Redis/ConnectionMultiplexer.cs
View file @
1e7703c0
This diff is collapsed.
Click to expand it.
StackExchange.Redis/StackExchange/Redis/EndPointCollection.cs
View file @
1e7703c0
using
System
;
using
System.Collections.Generic
;
using
System.Collections.ObjectModel
;
using
System.Net
;
...
...
@@ -9,6 +10,14 @@ namespace StackExchange.Redis
/// </summary>
public
sealed
class
EndPointCollection
:
Collection
<
EndPoint
>
{
public
EndPointCollection
()
:
base
()
{
}
public
EndPointCollection
(
IList
<
EndPoint
>
endpoints
)
:
base
(
endpoints
)
{
}
/// <summary>
/// Format an endpoint
/// </summary>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment