Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
compujuckel committed Apr 19, 2024
1 parent 783d0f5 commit 4b38133
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 60 deletions.
16 changes: 8 additions & 8 deletions AssettoServer/AssettoServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="CXuesong.Luaon" Version="0.2.7" />
<PackageReference Include="CXuesong.Luaon.Json" Version="0.2.1" />
<PackageReference Include="DotNext.IO" Version="5.0.1" />
<PackageReference Include="DotNext.Unsafe" Version="5.0.1" />
<PackageReference Include="DotNext.IO" Version="5.3.0" />
<PackageReference Include="DotNext.Unsafe" Version="5.3.0" />
<PackageReference Include="ErrorProne.NET.CoreAnalyzers" Version="0.4.0-beta.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand All @@ -55,30 +55,30 @@
<PackageReference Include="McMaster.NETCore.Plugins" Version="1.4.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="NJsonSchema" Version="11.0.0" />
<PackageReference Include="NodaTime" Version="3.1.10" />
<PackageReference Include="NodaTime" Version="3.1.11" />
<PackageReference Include="Open.NAT" Version="2.1.0">
<NoWarn>NU1701</NoWarn>
</PackageReference>
<PackageReference Include="Polly" Version="8.2.1" />
<PackageReference Include="Polly" Version="8.3.1" />
<PackageReference Include="prometheus-net" Version="8.2.1" />
<PackageReference Include="prometheus-net.AspNetCore" Version="8.2.1" />
<PackageReference Include="protobuf-net.Grpc" Version="1.1.1" />
<PackageReference Include="Qmmands" Version="5.0.2" />
<PackageReference Include="Scriban" Version="5.9.1" />
<PackageReference Include="Scriban" Version="5.10.0" />
<PackageReference Include="Serilog" Version="3.1.1" />
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
<PackageReference Include="Serilog.Enrichers.Environment" Version="2.3.0" />
<PackageReference Include="Serilog.Expressions" Version="4.0.0" />
<PackageReference Include="Serilog.Sinks.Async" Version="1.5.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="5.0.1" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageReference Include="Serilog.Sinks.Grafana.Loki" Version="8.2.0" />
<PackageReference Include="SerilogTimings" Version="3.0.1" />
<PackageReference Include="Serilog.Sinks.Grafana.Loki" Version="8.3.0" />
<PackageReference Include="SerilogTimings" Version="3.1.0" />
<PackageReference Include="compujuckel.Supercluster.KDTree" Version="1.0.8" />
<PackageReference Include="Sigil" Version="5.0.0" />
<PackageReference Include="SunCalcNet" Version="1.2.2" />
<PackageReference Include="System.IO.Hashing" Version="8.0.0" />
<PackageReference Include="YamlDotNet" Version="15.1.0" />
<PackageReference Include="YamlDotNet" Version="15.1.2" />
<PackageReference Include="Nerdbank.GitVersioning" Version="3.4.244" PrivateAssets="all" Condition="!Exists('packages.config')" />
</ItemGroup>

Expand Down
50 changes: 0 additions & 50 deletions ReplayPlugin/Data/ReplayCar.cs

This file was deleted.

2 changes: 1 addition & 1 deletion ReplayPlugin/ReplayCommandModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void SaveReplay(int seconds, ACTcpClient? client = null)
[Command("replay_id")]
public void SaveReplayId(int seconds, byte sessionId)
{
var filename = $"replay_{DateTime.Now.ToString("yyyyMMdd'T'HHmmss")}_{sessionId}.acreplay";
var filename = $"replay_{DateTime.Now:yyyyMMdd'T'HHmmss}_{sessionId}.acreplay";

using (var t = Operation.Time("Writing replay {0}", filename))
{
Expand Down
2 changes: 1 addition & 1 deletion ReplayPlugin/ReplayConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class ReplayConfiguration
public int MaxSegmentSizeKilobytes { get; set; } = 10_000;
public int SegmentTargetSeconds { get; set; } = 30;
public int ReplayDurationSeconds { get; set; } = 60;
public int RefreshRateHz { get; set; } = 12;
public int RefreshRateHz { get; set; } = 10;

[YamlIgnore] public int MinSegmentSizeBytes => MinSegmentSizeKilobytes * 1000;
[YamlIgnore] public int MaxSegmentSizeBytes => MaxSegmentSizeKilobytes * 1000;
Expand Down

0 comments on commit 4b38133

Please sign in to comment.