mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-11-03 06:37:05 +01:00
* api: drop the MessagePack hub protocol * sync: fetch items in size-bounded chunks and send them as stored * sync: label fetch failures by reason and log rejected connections at info * sync: count rejected connections and cover fetch failure reasons and mid-fetch resets Rejections are logged at Information, which production filters out, so a counter by stage is what shows them. Also drops a catch around the no-op Hub.OnDisconnectedAsync.
31 lines
1.1 KiB
XML
31 lines
1.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<IsPackable>false</IsPackable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="coverlet.collector" Version="6.0.2" />
|
|
<PackageReference Include="EphemeralMongo" Version="3.2.0" />
|
|
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="9.0.0" />
|
|
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="9.0.0" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
|
|
<PackageReference Include="Testcontainers.Minio" Version="4.15.0" />
|
|
<PackageReference Include="Testcontainers.Redis" Version="4.15.0" />
|
|
<PackageReference Include="xunit" Version="2.9.2" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Using Include="Xunit" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\Notesnook.API\Notesnook.API.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|