aboutsummaryrefslogtreecommitdiff
path: root/plugins/CacheBroker/src/Endpoints
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-03-09 01:48:38 -0500
committerLibravatar vnugent <public@vaughnnugent.com>2023-03-09 01:48:38 -0500
commitcd1daadaeaa6ffbaaef3ed25452decd90d01fdfc (patch)
tree51252a42ccf3f6eb860e42d83f064a7247d7ebf7 /plugins/CacheBroker/src/Endpoints
parent5edcd9b03532823c71fd337e39b7f03fe2ea174e (diff)
Omega cache, session, and account provider complete overhaul
Diffstat (limited to 'plugins/CacheBroker/src/Endpoints')
-rw-r--r--plugins/CacheBroker/src/Endpoints/BrokerRegistrationEndpoint.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/CacheBroker/src/Endpoints/BrokerRegistrationEndpoint.cs b/plugins/CacheBroker/src/Endpoints/BrokerRegistrationEndpoint.cs
index 8f983ac..61540b9 100644
--- a/plugins/CacheBroker/src/Endpoints/BrokerRegistrationEndpoint.cs
+++ b/plugins/CacheBroker/src/Endpoints/BrokerRegistrationEndpoint.cs
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2022 Vaughn Nugent
+* Copyright (c) 2023 Vaughn Nugent
*
* Library: VNLib
* Package: CacheBroker
@@ -98,7 +98,7 @@ namespace VNLib.Plugins.Cache.Broker.Endpoints
DisableVerifySessionCors = true,
};
- public BrokerRegistrationEndpoint(PluginBase plugin, IReadOnlyDictionary<string, JsonElement> config)
+ public BrokerRegistrationEndpoint(PluginBase plugin, IConfigScope config)
{
string? path = config["path"].GetString();
@@ -412,10 +412,12 @@ namespace VNLib.Plugins.Cache.Broker.Endpoints
}
- void IDisposable.Dispose()
+ ///<inheritdoc/>
+ public void Dispose()
{
//Cleanup client pool when exiting
ClientPool.Dispose();
+ GC.SuppressFinalize(this);
}
}
}