mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-06-13 14:38:43 +00:00
ProxyTypes
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user