Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frameworks/CSharp/wiredio/UnhGHttp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static void Main(string[] args)
{
var builder = UnhingedEngine
.CreateBuilder()
.SetNWorkersSolver(() => Environment.ProcessorCount / 2)
.SetNWorkersSolver(() => Environment.ProcessorCount)
.SetBacklog(16384)
.SetMaxEventsPerWake(512)
.SetMaxNumberConnectionsPerWorker(512)
Expand Down
2 changes: 1 addition & 1 deletion frameworks/CSharp/wiredio/src/Platform/Platform.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Unhinged" Version="9.0.6" />
<PackageReference Include="Unhinged" Version="9.0.7" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion frameworks/CSharp/wiredio/src/Platform/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static void Main(string[] args)
// It's the number of real cpu cores not cpu threads
// This can improve the cache hits on L1/L2 since only one thread
// is running per cpu core.
.SetNWorkersSolver(() => Environment.ProcessorCount / 2)
.SetNWorkersSolver(() => Environment.ProcessorCount - 2)

// Accept up to 16384 connections
.SetBacklog(16384)
Expand Down
Loading