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
7f59321f
Commit
7f59321f
authored
Aug 13, 2018
by
Nick Craver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pipelines lib and log scheduler counts in test output
parent
1f0609b4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
TestBase.cs
StackExchange.Redis.Tests/TestBase.cs
+1
-0
SocketManager.cs
StackExchange.Redis/SocketManager.cs
+3
-0
StackExchange.Redis.csproj
StackExchange.Redis/StackExchange.Redis.csproj
+1
-1
No files found.
StackExchange.Redis.Tests/TestBase.cs
View file @
7f59321f
...
...
@@ -171,6 +171,7 @@ public void Teardown()
}
Assert
.
True
(
false
,
$"There were
{
privateFailCount
}
private and
{
sharedFailCount
.
Value
}
ambient exceptions; expected
{
expectedFailCount
}
."
);
}
Log
(
$"Service Counts: (Scheduler) Queue:
{
SocketManager
.
Shared
?.
SchedulerPool
?.
TotalServicedByQueue
.
ToString
()}
, Pool:
{
SocketManager
.
Shared
?.
SchedulerPool
?.
TotalServicedByPool
.
ToString
()}
, (Completion) Queue:
{
SocketManager
.
Shared
?.
CompletionPool
?.
TotalServicedByQueue
.
ToString
()}
, Pool:
{
SocketManager
.
Shared
?.
CompletionPool
?.
TotalServicedByPool
.
ToString
()}
"
);
}
internal
static
Task
Swallow
(
Task
task
)
...
...
StackExchange.Redis/SocketManager.cs
View file @
7f59321f
...
...
@@ -90,6 +90,9 @@ private SocketManager(string name, bool useHighPrioritySocketThreads, int minThr
private
DedicatedThreadPoolPipeScheduler
_schedulerPool
,
_completionPool
;
internal
readonly
PipeOptions
SendPipeOptions
,
ReceivePipeOptions
;
internal
DedicatedThreadPoolPipeScheduler
SchedulerPool
=>
_schedulerPool
;
internal
DedicatedThreadPoolPipeScheduler
CompletionPool
=>
_completionPool
;
private
enum
CallbackOperation
{
Read
,
...
...
StackExchange.Redis/StackExchange.Redis.csproj
View file @
7f59321f
...
...
@@ -19,7 +19,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Pipelines.Sockets.Unofficial" Version="0.2.1-alpha.8
0
" />
<PackageReference Include="Pipelines.Sockets.Unofficial" Version="0.2.1-alpha.8
1
" />
<PackageReference Include="System.Diagnostics.PerformanceCounter" Version="4.5.0" />
<PackageReference Include="System.IO.Pipelines" Version="4.5.0" />
<PackageReference Include="System.Threading.Channels" Version="4.5.0" />
...
...
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