private async Task <(int activeChunkHandlersLeft, int compactedChunkHandlersLeft)> CompactBattleHandlerAsync(long chunkIncativityUTCLimit, BattleHandler battleHandler) { var(chunkHandlersNotRemoved, chunkHandlersRemoved) = await battleHandler.ClearCompactedChunkHandlersAsync(); var(chunkHandlersNotCompacted, chunkHandlersCompacted) = await battleHandler.CompactChunkHandlersAsync(chunkIncativityUTCLimit); _logger.LogInformation($"Battle {battleHandler.BattleId} compaction finished. ChunkHandlers: Active={chunkHandlersNotCompacted}, Compacted={chunkHandlersCompacted + chunkHandlersNotRemoved}, Removed={chunkHandlersRemoved}"); return(chunkHandlersNotCompacted, chunkHandlersCompacted + chunkHandlersNotRemoved); }