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
39cc2a79
Commit
39cc2a79
authored
Oct 15, 2015
by
Jeremy Meng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable socket polling for dnxcore.
parent
04f6eba9
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
36 deletions
+14
-36
project.json
...is.Tests_dnxcore50/StackExchange.Redis.Tests/project.json
+2
-25
ConnectionMultiplexer.cs
...change.Redis/StackExchange/Redis/ConnectionMultiplexer.cs
+2
-2
PhysicalConnection.cs
...kExchange.Redis/StackExchange/Redis/PhysicalConnection.cs
+2
-2
SocketManager.NoPoll.cs
...xchange.Redis/StackExchange/Redis/SocketManager.NoPoll.cs
+1
-1
SocketManager.Poll.cs
...kExchange.Redis/StackExchange/Redis/SocketManager.Poll.cs
+1
-1
global.json
global.json
+6
-5
No files found.
StackExchange.Redis.Tests_dnxcore50/StackExchange.Redis.Tests/project.json
View file @
39cc2a79
...
...
@@ -11,7 +11,7 @@
],
"dependencies"
:
{
"StackExchange.Redis"
:
""
"StackExchange.Redis"
:
"
1.0.0-*
"
},
"frameworks"
:
{
...
...
@@ -22,30 +22,7 @@
"warningsAsErrors"
:
false
},
"dependencies"
:
{
"System.Diagnostics.Debug"
:
"4.0.0"
,
"System.Diagnostics.TraceSource"
:
"4.0.0-beta-*"
,
"System.Diagnostics.Tools"
:
"4.0.0-beta-*"
,
"System.IO.Compression"
:
"4.0.0"
,
"System.Globalization"
:
"4.0.10"
,
"System.Linq"
:
"4.0.0"
,
"System.Net.Primitives"
:
"4.0.10"
,
"System.Net.Sockets"
:
"4.1.0-beta-*"
,
"System.Net.Security"
:
"4.0.0-beta-*"
,
"System.Net.NameResolution"
:
"4.0.0-beta-*"
,
"System.Reflection"
:
"4.0.0"
,
"System.Reflection.Emit"
:
"4.0.0"
,
"System.Reflection.TypeExtensions"
:
"4.0.0"
,
"System.Reflection.Primitives"
:
"4.0.0"
,
"System.Reflection.Emit.Lightweight"
:
"4.0.0"
,
"System.Security.Cryptography.Algorithms"
:
"4.0.0-beta-*"
,
"System.Security.Cryptography.Hashing.Algorithms"
:
"4.0.0-beta-*"
,
"System.Security.Cryptography.X509Certificates"
:
"4.0.0-beta-*"
,
"System.Text.RegularExpressions"
:
"4.0.0"
,
"System.Threading"
:
"4.0.0"
,
"System.Threading.Thread"
:
"4.0.0-*"
,
"System.Threading.ThreadPool"
:
"4.0.10-beta-*"
,
"System.Threading.Timer"
:
"4.0.1-beta-*"
,
"System.Threading.Tasks"
:
"4.0.0"
,
"System.Console"
:
"4.0.0-beta-*"
,
"nunit"
:
"3.0.0-beta-5"
}
}
...
...
StackExchange.Redis/StackExchange/Redis/ConnectionMultiplexer.cs
View file @
39cc2a79
...
...
@@ -1887,7 +1887,7 @@ internal T ExecuteSyncImpl<T>(Message message, ResultProcessor<T> processor, Ser
else
{
int
inst
,
qu
,
qs
,
qc
,
wr
,
wq
,
@in
,
ar
;
#if !__MonoCS__
#if !__MonoCS__
&& !NETCORE
var
mgrState
=
socketManager
.
State
;
var
lastError
=
socketManager
.
LastErrorTimeRelative
();
...
...
@@ -1902,7 +1902,7 @@ internal T ExecuteSyncImpl<T>(Message message, ResultProcessor<T> processor, Ser
int
queue
=
server
.
GetOutstandingCount
(
message
.
Command
,
out
inst
,
out
qu
,
out
qs
,
out
qc
,
out
wr
,
out
wq
,
out
@in
,
out
ar
);
add
(
"Instantaneous"
,
"inst"
,
inst
.
ToString
());
#if !__MonoCS__
#if !__MonoCS__
&& !NETCORE
add
(
"Manager-State"
,
"mgr"
,
mgrState
.
ToString
());
add
(
"Last-Error"
,
"err"
,
lastError
);
#endif
...
...
StackExchange.Redis/StackExchange/Redis/PhysicalConnection.cs
View file @
39cc2a79
...
...
@@ -229,7 +229,7 @@ public void RecordConnectionFailed(ConnectionFailureType failureType, ref Socket
add
(
"Last-Heartbeat"
,
"last-heartbeat"
,
(
lastBeat
==
0
?
"never"
:
(
unchecked
(
now
-
lastBeat
)/
1000
+
"s ago"
))+
(
bridge
.
IsBeating
?
" (mid-beat)"
:
""
)
);
add
(
"Last-Multiplexer-Heartbeat"
,
"last-mbeat"
,
multiplexer
.
LastHeartbeatSecondsAgo
+
"s ago"
);
add
(
"Last-Global-Heartbeat"
,
"global"
,
ConnectionMultiplexer
.
LastGlobalHeartbeatSecondsAgo
+
"s ago"
);
#if !__MonoCS__
#if !__MonoCS__
&& !NETCORE
var
mgr
=
bridge
.
Multiplexer
.
SocketManager
;
add
(
"SocketManager-State"
,
"mgr"
,
mgr
.
State
.
ToString
());
add
(
"Last-Error"
,
"err"
,
mgr
.
LastErrorTimeRelative
());
...
...
StackExchange.Redis/StackExchange/Redis/SocketManager.NoPoll.cs
View file @
39cc2a79
#
if
__MonoCS__
#
if
__MonoCS__
||
NETCORE
namespace
StackExchange.Redis
{
...
...
StackExchange.Redis/StackExchange/Redis/SocketManager.Poll.cs
View file @
39cc2a79
...
...
@@ -5,7 +5,7 @@
using
System.Runtime.InteropServices
;
using
System.Threading
;
#if !__MonoCS__
#if !__MonoCS__
&& !NETCORE
namespace
StackExchange.Redis
{
...
...
global.json
View file @
39cc2a79
...
...
@@ -3,5 +3,6 @@
"version"
:
"1.0.0-beta7"
,
"runtime"
:
"coreclr"
,
"architecture"
:
"x86"
}
},
"projects"
:
[
"StackExchange.Redis_dnxcore50"
]
}
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