Skip to content

Commit

Permalink
feat: clamp the intercepted connections
Browse files Browse the repository at this point in the history
  • Loading branch information
ArachisH committed Mar 7, 2024
1 parent d23cc14 commit 0922170
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tanji.CLI/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ public async Task RunAsync(CancellationToken cancellationToken = default)
_logger.LogInformation("Client Processed : {game.path}", game.Path);

var connectionContext = new HConnectionContext(game);
_ = await _connectionHandler.LaunchAndInterceptConnectionAsync(ticket, connectionContext, cancellationToken).ConfigureAwait(false);
HConnection connection = await _connectionHandler.LaunchAndInterceptConnectionAsync(ticket, connectionContext, cancellationToken).ConfigureAwait(false);

await connection.WeldNodesAsync(cancellationToken).ConfigureAwait(false);
}
while (!cancellationToken.IsCancellationRequested);
}
Expand Down

0 comments on commit 0922170

Please sign in to comment.