1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

possible improvements for game interface rcon operations

This commit is contained in:
RaidMax
2022-10-13 13:51:34 -05:00
parent 38becc5266
commit 9cc3733db7
3 changed files with 19 additions and 31 deletions

View File

@ -243,7 +243,11 @@ namespace Integrations.Cod
CancellationToken = token
};
connectionState.ConnectionAttempts++;
if (!token.IsCancellationRequested)
{
connectionState.ConnectionAttempts++;
}
connectionState.BytesReadPerSegment.Clear();
_log.LogDebug(