This commit is contained in:
qornwh1
2026-03-03 15:01:53 +09:00
11 changed files with 763 additions and 91 deletions

View File

@@ -3,7 +3,7 @@ using Serilog;
class EcoClientTester
{
public static readonly string SERVER_IP = "localhost";
public static readonly string SERVER_IP = "tolelom.xyz";
public static readonly int SERVER_PORT = 9500;
public static readonly string CONNECTION_KEY = "test";
public static readonly int CLIENT_COUNT = 100;
@@ -29,10 +29,10 @@ class EcoClientTester
};
DummyClientService service = new DummyClientService(CLIENT_COUNT, SERVER_IP, SERVER_PORT, CONNECTION_KEY, 100);
service.OnAllDisconnected += async () =>
service.OnAllDisconnected += () =>
{
Log.Warning("[SHUTDOWN] 종료 이벤트 발생, 종료 중...");
await cts.CancelAsync();
cts.Cancel();
};
// service.IsTest = true;