diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2022-05-06 21:34:51 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2022-05-06 21:34:51 -0500 |
| commit | 183bca6fbb0dffddc8f7417b1b9290f63876096d (patch) | |
| tree | 921c755f75faae9dd045a8f251021ac84f4f9fa4 /src/slskd/Program.cs | |
| parent | 399ca91729cdcd564eb367449c64c05c54258b52 (diff) | |
| download | slskd-183bca6fbb0dffddc8f7417b1b9290f63876096d.tar.gz | |
remove memorycache
Diffstat (limited to 'src/slskd/Program.cs')
| -rw-r--r-- | src/slskd/Program.cs | 3 |
1 files changed, 0 insertions, 3 deletions
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; } |
