Performance optimization
This commit is contained in:
parent
65c0bec80e
commit
9b7739a59d
@ -61,7 +61,9 @@ internal sealed class ObjectTableHandler : IDisposable
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (playerMappings.Count > 0)
|
if (playerMappings.Count > 0)
|
||||||
_persistenceContext.HandleContentIdMapping(playerMappings);
|
Task.Run(() => _persistenceContext.HandleContentIdMapping(playerMappings));
|
||||||
|
|
||||||
|
_logger.LogTrace("ObjectTable handling for {Count} players took {TimeMs}", playerMappings.Count, TimeSpan.FromMilliseconds(Environment.TickCount64 - now));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<Project Sdk="Dalamud.NET.Sdk/9.0.2">
|
<Project Sdk="Dalamud.NET.Sdk/9.0.2">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Version>4.0</Version>
|
<Version>4.1</Version>
|
||||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
<SatelliteResourceLanguages>none</SatelliteResourceLanguages>
|
<SatelliteResourceLanguages>none</SatelliteResourceLanguages>
|
||||||
<OutputPath Condition="'$(Configuration)' != 'EF'">dist</OutputPath>
|
<OutputPath Condition="'$(Configuration)' != 'EF'">dist</OutputPath>
|
||||||
|
Loading…
Reference in New Issue
Block a user