diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/CacheBroker/src/Endpoints/BrokerRegistrationEndpoint.cs | 2 | ||||
-rw-r--r-- | plugins/ObjectCacheServer/src/ObjectCacheServerEntry.cs | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/plugins/CacheBroker/src/Endpoints/BrokerRegistrationEndpoint.cs b/plugins/CacheBroker/src/Endpoints/BrokerRegistrationEndpoint.cs index 61540b9..b350e73 100644 --- a/plugins/CacheBroker/src/Endpoints/BrokerRegistrationEndpoint.cs +++ b/plugins/CacheBroker/src/Endpoints/BrokerRegistrationEndpoint.cs @@ -51,6 +51,8 @@ using VNLib.Plugins.Extensions.Loading.Events; using VNLib.Plugins.Extensions.Loading.Routing; using VNLib.Net.Rest.Client; +using ContentType = VNLib.Net.Http.ContentType; + #nullable enable namespace VNLib.Plugins.Cache.Broker.Endpoints diff --git a/plugins/ObjectCacheServer/src/ObjectCacheServerEntry.cs b/plugins/ObjectCacheServer/src/ObjectCacheServerEntry.cs index 5a748ef..2fa6220 100644 --- a/plugins/ObjectCacheServer/src/ObjectCacheServerEntry.cs +++ b/plugins/ObjectCacheServer/src/ObjectCacheServerEntry.cs @@ -524,7 +524,7 @@ namespace VNLib.Data.Caching.ObjectCache.Server return; case "deleted": //Delete the object from the store - _ = cacheStore.DeleteItemAsync(changedObject.CurrentId).ConfigureAwait(false); + await cacheStore.DeleteItemAsync(changedObject.CurrentId); break; case "modified": //Reload the record from the store |