2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2026-06-13 14:38:43 +00:00

ProxyTypes

This commit is contained in:
2026-06-09 20:56:01 +03:00
parent 64282684b9
commit 2f39aabf7e
11 changed files with 652 additions and 202 deletions
@@ -44,10 +44,10 @@ for (int batch = 0; batch < resourceCount; batch += batchSize)
{
var sw = Stopwatch.StartNew();
Console.WriteLine(capturedI);
//Console.WriteLine(capturedI);
proxies[capturedI] = await connnection.Get($"sys/sensor_{capturedI}");
Console.WriteLine(proxies[capturedI].Instance.Link);
//Console.WriteLine(proxies[capturedI].Instance.Link);
sw.Stop();
@@ -18,7 +18,8 @@ Console.WriteLine($"[Server-T2] Creating {resourceCount} resources on port {port
var wh = new Warehouse();
await wh.Put("sys", new MemoryStore());
var server = await wh.Put("sys/server", new EpServer() { Port = (ushort)port });
var server = await wh.Put("sys/server", new EpServer() { Port = (ushort)port,
AllowUnauthorizedAccess = true});
long memBefore = GC.GetTotalMemory(forceFullCollection: true);