/// <summary> /// Sets up the cache tables /// </summary> public void AfterConfigure() { if (ExpireTimeout < TimeSpan.FromMinutes(1)) { throw new Exception($"The value of {ExpireTimeout} cannot be less than a minute"); } FoundCache = new LRUCache <LinkEntry>(countlimit: FoundCacheSize); NotFoundCache = new LRUCache <DateTime>(countlimit: NotFoundCacheSize); }