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
17cc31e8
Commit
17cc31e8
authored
Mar 16, 2016
by
DeepakVerma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
surfacing unabletoconnect exception as well.
parent
fa8a5b57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
PhysicalBridge.cs
StackExchange.Redis/StackExchange/Redis/PhysicalBridge.cs
+1
-0
No files found.
StackExchange.Redis/StackExchange/Redis/PhysicalBridge.cs
View file @
17cc31e8
...
@@ -385,6 +385,7 @@ internal void OnHeartbeat(bool ifConnectedOnly)
...
@@ -385,6 +385,7 @@ internal void OnHeartbeat(bool ifConnectedOnly)
int
connectTimeMilliseconds
=
unchecked
(
Environment
.
TickCount
-
VolatileWrapper
.
Read
(
ref
connectStartTicks
));
int
connectTimeMilliseconds
=
unchecked
(
Environment
.
TickCount
-
VolatileWrapper
.
Read
(
ref
connectStartTicks
));
if
(
connectTimeMilliseconds
>=
Multiplexer
.
RawConfig
.
ConnectTimeout
)
if
(
connectTimeMilliseconds
>=
Multiplexer
.
RawConfig
.
ConnectTimeout
)
{
{
LastException
=
ExceptionFactory
.
UnableToConnect
(
"ConnectTimeout"
);
Trace
(
"Aborting connect"
);
Trace
(
"Aborting connect"
);
// abort and reconnect
// abort and reconnect
var
snapshot
=
physical
;
var
snapshot
=
physical
;
...
...
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