mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 21:27:22 +01:00
Add MCDO (#31)
* rudimentary charadata first impl * update submodule * update properly * some fixes etc * add cascade and some other fixes * most of charadata impl * dotnet 9 * net9 and migration to k4os * bum papi --------- Co-authored-by: Stanley Dimant <root.darkarchon@outlook.com>
This commit is contained in:
parent
1379ced836
commit
cc89882bbc
30 changed files with 6895 additions and 99 deletions
|
|
@ -1,5 +1,5 @@
|
|||
using ByteSizeLib;
|
||||
using LZ4;
|
||||
using K4os.Compression.LZ4.Legacy;
|
||||
using MareSynchronosShared.Data;
|
||||
using MareSynchronosShared.Metrics;
|
||||
using MareSynchronosShared.Models;
|
||||
|
|
@ -270,7 +270,7 @@ public class MainFileCleanupService : IHostedService
|
|||
{
|
||||
try
|
||||
{
|
||||
var length = LZ4Codec.Unwrap(File.ReadAllBytes(file.FullName)).LongLength;
|
||||
var length = LZ4Wrapper.Unwrap(File.ReadAllBytes(file.FullName)).LongLength;
|
||||
_logger.LogInformation("Setting Raw File Size of " + fileCache.Hash + " to " + length);
|
||||
fileCache.RawSize = length;
|
||||
if (fileCounter % 1000 == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue