aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-09-02 01:30:22 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-09-02 01:30:22 -0400
commit2346f158dee50250502e2ae3cb0aa85aae326164 (patch)
treeaa32660289a654e4bf191481a6ccf26da6e2b859
parent9e2daec8b3a0389b6717a01b48adf1334b2923be (diff)
push pending changes
-rw-r--r--plugins/ObjectCacheServer/src/Cache/CacheSystemUtil.cs4
-rw-r--r--plugins/VNLib.Data.Caching.Providers.VNCache/src/FBMCacheClient.cs6
2 files changed, 6 insertions, 4 deletions
diff --git a/plugins/ObjectCacheServer/src/Cache/CacheSystemUtil.cs b/plugins/ObjectCacheServer/src/Cache/CacheSystemUtil.cs
index 8f196b0..c40ebeb 100644
--- a/plugins/ObjectCacheServer/src/Cache/CacheSystemUtil.cs
+++ b/plugins/ObjectCacheServer/src/Cache/CacheSystemUtil.cs
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2023 Vaughn Nugent
+* Copyright (c) 2024 Vaughn Nugent
*
* Library: VNLib
* Package: ObjectCacheServer
@@ -27,9 +27,9 @@ using System.IO;
using System.Text.Json;
using VNLib.Utils.Resources;
+using VNLib.Utils.Extensions;
using VNLib.Plugins;
using VNLib.Plugins.Extensions.Loading;
-using VNLib.Utils.Extensions;
namespace VNLib.Data.Caching.ObjectCache.Server.Cache
{
diff --git a/plugins/VNLib.Data.Caching.Providers.VNCache/src/FBMCacheClient.cs b/plugins/VNLib.Data.Caching.Providers.VNCache/src/FBMCacheClient.cs
index fc4b111..7fc44e0 100644
--- a/plugins/VNLib.Data.Caching.Providers.VNCache/src/FBMCacheClient.cs
+++ b/plugins/VNLib.Data.Caching.Providers.VNCache/src/FBMCacheClient.cs
@@ -206,9 +206,11 @@ namespace VNLib.Data.Caching.Providers.VNCache
//Wait for a discovery to complete
await _index.WaitForDiscoveryAsync(exitToken);
}
- catch (CacheDiscoveryFailureException)
+ catch (Exception ex)
{
- //Ignore as master instance will handle this error
+ pluginLog.Debug("Failed to wait for discovery\n{err}", ex.Message);
+ //Exception types from the other side so we can't really granually handle
+ //them, but master instance should so we just need to wait
}
//Get the next node to connect to