From 1fe67b21fd3e0fe9e7063cd03e43e1583fce3ce1 Mon Sep 17 00:00:00 2001 From: vnugent Date: Mon, 28 Aug 2023 22:00:06 -0400 Subject: Patches & data-store updates --- plugins/VNLib.Plugins.Essentials.Content.Routing/src/Router.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/VNLib.Plugins.Essentials.Content.Routing/src/Router.cs') diff --git a/plugins/VNLib.Plugins.Essentials.Content.Routing/src/Router.cs b/plugins/VNLib.Plugins.Essentials.Content.Routing/src/Router.cs index 59a88c1..fda572a 100644 --- a/plugins/VNLib.Plugins.Essentials.Content.Routing/src/Router.cs +++ b/plugins/VNLib.Plugins.Essentials.Content.Routing/src/Router.cs @@ -25,6 +25,7 @@ using System; using System.Linq; using System.Buffers; +using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Collections.Concurrent; @@ -40,7 +41,7 @@ using VNLib.Plugins.Essentials.Content.Routing.Model; namespace VNLib.Plugins.Essentials.Content.Routing { - internal class Router : IPageRouter + internal sealed class Router : IPageRouter { private static readonly RouteComparer Comparer = new(); @@ -92,7 +93,7 @@ namespace VNLib.Plugins.Essentials.Content.Routing List collection = new(); //Load all routes from the backing store and filter them - await Store.GetAllRoutesAsync(collection); + await Store.GetAllRoutesAsync(collection, CancellationToken.None); Logger.Debug("Found {r} routes in store", collection.Count); -- cgit