aboutsummaryrefslogtreecommitdiff
path: root/lib/VNLib.Plugins.Extensions.VNCache/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNLib.Plugins.Extensions.VNCache/src')
-rw-r--r--lib/VNLib.Plugins.Extensions.VNCache/src/VnCacheClient.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/VNLib.Plugins.Extensions.VNCache/src/VnCacheClient.cs b/lib/VNLib.Plugins.Extensions.VNCache/src/VnCacheClient.cs
index ae6ca59..9f5ccfe 100644
--- a/lib/VNLib.Plugins.Extensions.VNCache/src/VnCacheClient.cs
+++ b/lib/VNLib.Plugins.Extensions.VNCache/src/VnCacheClient.cs
@@ -112,7 +112,7 @@ namespace VNLib.Plugins.Extensions.VNCache
//Connection authentication methods
Client.GetCacheConfiguration()
.WithVerificationKey(cachePub)
- .WithSigningCertificate(clientPriv)
+ .WithSigningKey(clientPriv)
.WithBrokerVerificationKey(brokerPub);
}
@@ -127,7 +127,7 @@ namespace VNLib.Plugins.Extensions.VNCache
while (true)
{
//Load the server list
- ActiveServer[]? servers;
+ ICachePeerAdvertisment[]? servers;
while (true)
{
try
@@ -163,8 +163,8 @@ namespace VNLib.Plugins.Extensions.VNCache
pluginLog.Debug("Connecting to random cache server");
//Connect to a random server
- ActiveServer selected = await Client.ConnectToRandomCacheAsync(exitToken);
- pluginLog.Debug("Connected to cache server {s}", selected.ServerId);
+ ICachePeerAdvertisment selected = await Client.ConnectToRandomCacheAsync(exitToken);
+ pluginLog.Debug("Connected to cache server {s}", selected.NodeId);
//Set connection status flag
IsConnected = true;