diff options
Diffstat (limited to 'plugins/ObjectCacheServer/src/ObjectCacheServerEntry.cs')
-rw-r--r-- | plugins/ObjectCacheServer/src/ObjectCacheServerEntry.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/ObjectCacheServer/src/ObjectCacheServerEntry.cs b/plugins/ObjectCacheServer/src/ObjectCacheServerEntry.cs index 5d9a50b..1ddf49b 100644 --- a/plugins/ObjectCacheServer/src/ObjectCacheServerEntry.cs +++ b/plugins/ObjectCacheServer/src/ObjectCacheServerEntry.cs @@ -33,7 +33,7 @@ using VNLib.Utils.Memory.Diagnostics; using VNLib.Plugins.Extensions.Loading; using VNLib.Plugins.Extensions.Loading.Routing; using VNLib.Data.Caching.ObjectCache.Server.Endpoints; - +using VNLib.Data.Caching.ObjectCache.Server.Distribution; namespace VNLib.Data.Caching.ObjectCache.Server { @@ -76,9 +76,15 @@ namespace VNLib.Data.Caching.ObjectCache.Server { try { + //Route well-known endpoint + this.Route<WellKnownEndpoint>(); + //Init connect endpoint this.Route<ConnectEndpoint>(); + //We must initialize the replication manager + _ = this.GetOrCreateSingleton<CacheNodeReplicationMaanger>(); + //Setup discovery endpoint if(this.HasConfigForType<PeerDiscoveryEndpoint>()) { |