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
3bf6cba7
Commit
3bf6cba7
authored
Nov 17, 2014
by
Pavel Pochobut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaned up unused code
parent
80731aa0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
26 deletions
+0
-26
PhysicalBridge.cs
StackExchange.Redis/StackExchange/Redis/PhysicalBridge.cs
+0
-17
PhysicalConnection.cs
...kExchange.Redis/StackExchange/Redis/PhysicalConnection.cs
+0
-9
No files found.
StackExchange.Redis/StackExchange/Redis/PhysicalBridge.cs
View file @
3bf6cba7
...
...
@@ -679,23 +679,6 @@ private bool ChangeState(State oldState, State newState)
return
result
;
}
private
void
Flush
()
{
var
tmp
=
physical
;
if
(
tmp
!=
null
)
{
try
{
Trace
(
connectionType
+
" flushed"
);
tmp
.
Flush
();
}
catch
(
Exception
ex
)
{
OnInternalError
(
ex
);
}
}
}
private
PhysicalConnection
GetConnection
()
{
if
(
state
==
(
int
)
State
.
Disconnected
)
...
...
StackExchange.Redis/StackExchange/Redis/PhysicalConnection.cs
View file @
3bf6cba7
...
...
@@ -164,8 +164,6 @@ public void RecordConnectionFailed(ConnectionFailureType failureType, Exception
if
(
isCurrent
&&
Interlocked
.
CompareExchange
(
ref
failureReported
,
1
,
0
)
==
0
)
{
//try
//{
int
now
=
Environment
.
TickCount
,
lastRead
=
Thread
.
VolatileRead
(
ref
lastReadTickCount
),
lastWrite
=
Thread
.
VolatileRead
(
ref
lastWriteTickCount
),
lastBeat
=
Thread
.
VolatileRead
(
ref
lastBeatTickCount
);
...
...
@@ -181,13 +179,6 @@ public void RecordConnectionFailed(ConnectionFailureType failureType, Exception
:
new
RedisConnectionException
(
failureType
,
message
,
innerException
);
bridge
.
OnConnectionFailed
(
this
,
failureType
,
ex
);
// throw ex;
//}
//catch (Exception caught)
//{
// bridge.OnConnectionFailed(this, failureType, caught);
//}
}
// cleanup
...
...
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