Sdk.Web defaults to Server GC, one heap per core with a ~350 MB gen0 budget each — an idle worker sat at ~230 MB private. Workstation GC drops that to ~40 MB with no server-side concurrency to lose.
42 lines
1.4 KiB
XML
42 lines
1.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ClaudeDo.Data\ClaudeDo.Data.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
|
|
<PackageReference Include="Serilog.AspNetCore" Version="8.0.3" />
|
|
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
|
|
<PackageReference Include="ModelContextProtocol" Version="2.1.0" />
|
|
<PackageReference Include="ModelContextProtocol.AspNetCore" Version="2.1.0" />
|
|
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="8.0.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="DefaultAgents\*.md">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<OutputType>WinExe</OutputType>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<ApplicationIcon>ClaudeTaskWorker.ico</ApplicationIcon>
|
|
<!-- Sdk.Web defaults to Server GC: one heap per core (22 here) with a ~350 MB gen0 budget,
|
|
so an idle worker sat at ~230 MB private. Workstation GC: ~40 MB. -->
|
|
<ServerGarbageCollection>false</ServerGarbageCollection>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Using Include="ClaudeDo.Data.Wire" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<InternalsVisibleTo Include="ClaudeDo.Worker.Tests" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|