another fix because I'm retarded
bump version up
This commit is contained in:
parent
6726217354
commit
a820929582
@ -6,7 +6,7 @@
|
||||
<RuntimeFrameworkVersion>2.2.2</RuntimeFrameworkVersion>
|
||||
<MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish>
|
||||
<PackageId>RaidMax.IW4MAdmin.Application</PackageId>
|
||||
<Version>2.2.8.1</Version>
|
||||
<Version>2.2.8.2</Version>
|
||||
<Authors>RaidMax</Authors>
|
||||
<Company>Forever None</Company>
|
||||
<Product>IW4MAdmin</Product>
|
||||
@ -33,8 +33,8 @@
|
||||
<ServerGarbageCollection>false</ServerGarbageCollection>
|
||||
<ConcurrentGarbageCollection>true</ConcurrentGarbageCollection>
|
||||
<TieredCompilation>true</TieredCompilation>
|
||||
<AssemblyVersion>2.2.8.1</AssemblyVersion>
|
||||
<FileVersion>2.2.8.1</FileVersion>
|
||||
<AssemblyVersion>2.2.8.2</AssemblyVersion>
|
||||
<FileVersion>2.2.8.2</FileVersion>
|
||||
<LangVersion>7.1</LangVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
|
@ -48,6 +48,8 @@ namespace IW4MAdmin.Application.IO
|
||||
|
||||
await Task.Delay(_reader.UpdateInterval, _server.Manager.CancellationToken);
|
||||
}
|
||||
|
||||
_server.Logger.WriteDebug("Stopped polling for changes");
|
||||
}
|
||||
|
||||
private async Task UpdateLogEvents()
|
||||
|
@ -564,11 +564,12 @@ namespace IW4MAdmin.Plugins.Stats.Helpers
|
||||
{
|
||||
if (Plugin.Config.Configuration().StoreClientKills)
|
||||
{
|
||||
OnProcessingPenalty.Wait();
|
||||
_hitCache.Add(hit);
|
||||
|
||||
if (_hitCache.Count > Detection.MAX_TRACKED_HIT_COUNT)
|
||||
{
|
||||
OnProcessingPenalty.Wait();
|
||||
|
||||
using (var ctx = new DatabaseContext())
|
||||
{
|
||||
ctx.AddRange(_hitCache);
|
||||
@ -576,8 +577,8 @@ namespace IW4MAdmin.Plugins.Stats.Helpers
|
||||
}
|
||||
|
||||
_hitCache.Clear();
|
||||
OnProcessingPenalty.Release();
|
||||
}
|
||||
OnProcessingPenalty.Release(1);
|
||||
}
|
||||
|
||||
|
||||
@ -630,6 +631,11 @@ namespace IW4MAdmin.Plugins.Stats.Helpers
|
||||
{
|
||||
_log.WriteError("Could not save hit or AC info");
|
||||
_log.WriteDebug(ex.GetExceptionInfo());
|
||||
|
||||
if (OnProcessingPenalty.CurrentCount == 0)
|
||||
{
|
||||
OnProcessingPenalty.Release();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user