From 183bca6fbb0dffddc8f7417b1b9290f63876096d Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 6 May 2022 21:34:51 -0500 Subject: remove memorycache --- src/slskd/Program.cs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/slskd/Program.cs') diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index 5a0749a1..12777a77 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -28,7 +28,6 @@ namespace slskd using System.Security.Cryptography.X509Certificates; using System.Text; using System.Text.Json.Serialization; - using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Builder; @@ -37,7 +36,6 @@ namespace slskd using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.ApiExplorer; using Microsoft.EntityFrameworkCore; - using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.FileProviders; @@ -180,7 +178,6 @@ namespace slskd private static IConfigurationRoot Configuration { get; set; } private static OptionsAtStartup OptionsAtStartup { get; } = new OptionsAtStartup(); private static ILogger Log { get; set; } = new ConsoleWriteLineLogger(); - private static MemoryCache Cache { get; } = new MemoryCache(new MemoryCacheOptions()); [Argument('g', "generate-cert", "generate X509 certificate and password for HTTPs")] private static bool GenerateCertificate { get; set; } -- cgit v1.2.3